Searched refs:response (Results 1 - 25 of 1408) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DContentSecurityPolicyResponseHeaders.cpp33 ContentSecurityPolicyResponseHeaders::ContentSecurityPolicyResponseHeaders(const ResourceResponse& response) argument
34 : m_contentSecurityPolicy(response.httpHeaderField("Content-Security-Policy"))
35 , m_contentSecurityPolicyReportOnly(response.httpHeaderField("Content-Security-Policy-Report-Only"))
/external/chromium_org/net/server/
H A Dhttp_server_response_info_unittest.cc12 HttpServerResponseInfo response; local
13 ASSERT_EQ(HTTP_OK, response.status_code());
14 ASSERT_EQ("HTTP/1.1 200 OK\r\n\r\n", response.Serialize());
18 HttpServerResponseInfo response; local
19 response.AddHeader("A", "1");
20 response.AddHeader("A", "2");
21 ASSERT_EQ("HTTP/1.1 200 OK\r\nA:1\r\nA:2\r\n\r\n", response.Serialize());
25 HttpServerResponseInfo response; local
26 ASSERT_EQ(std::string(), response.body());
27 response
35 HttpServerResponseInfo response = HttpServerResponseInfo::CreateFor404(); local
43 HttpServerResponseInfo response = local
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCStatsCallback.idl26 void handleEvent(RTCStatsResponse response);
/external/chromium_org/net/test/embedded_test_server/
H A Dhttp_response_unittest.cc13 BasicHttpResponse response; local
14 response.set_code(HTTP_OK);
15 response.set_content("Sample content - Hello world!");
16 response.set_content_type("text/plain");
17 response.AddCustomHeader("Simple-Header", "Simple value.");
27 EXPECT_EQ(kExpectedResponseString, response.ToResponseString());
/external/apache-http/src/org/apache/http/impl/client/
H A DTunnelRefusedException.java47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) { argument
51 this.response = response;
55 return this.response;
H A DDefaultProxyAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
/external/chromium_org/extensions/browser/api/runtime/
H A Druntime_api_delegate.cc11 const std::string& response,
13 : success(success), response(response), version(version) {
9 UpdateCheckResult( bool success, const std::string& response, const std::string& version) argument
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dfile_manager_private_custom_bindings.js27 function(name, request, response) {
29 if (response && !response.error)
30 fs = GetFileSystem(response.name, response.root_url);
37 function(name, request, response) {
38 if (response && !response.error && response.entries) {
39 response
[all...]
H A Dpage_capture_custom_bindings.js18 function(name, request, response) {
21 if (response)
22 response = CreateBlob(response.mhtmlFilePath, response.mhtmlFileLength);
25 callback(response);
H A Dtab_capture_custom_bindings.js12 apiFunctions.setCustomCallback('capture', function(name, request, response) {
13 if (response && request.callback) {
16 if (response.audioConstraints)
17 options.audio = response.audioConstraints;
18 if (response.videoConstraints)
19 options.video = response.videoConstraints;
H A Dmedia_galleries_custom_bindings.js14 function createFileSystemObjectsAndUpdateMetadata(response) {
17 if (response) {
18 for (var i = 0; i < response.length; i++) {
20 response[i].fsid);
22 var metadata = response[i];
37 function(name, request, response) {
38 var result = createFileSystemObjectsAndUpdateMetadata(response);
45 function(name, request, response) {
46 var result = createFileSystemObjectsAndUpdateMetadata(response);
53 function(name, request, response) {
[all...]
/external/chromium_org/media/blink/
H A Dtest_response_generator.cc34 WebURLResponse response(gurl_);
35 response.setHTTPStatusCode(200);
37 response.setHTTPHeaderField(
40 response.setExpectedContentLength(content_length_);
41 return response;
53 WebURLResponse response(gurl_);
54 response.setHTTPStatusCode(206);
57 response.setHTTPHeaderField(WebString::fromUTF8("Accept-Ranges"),
69 response.setHTTPHeaderField(WebString::fromUTF8("Content-Range"),
74 response
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dapp_engine_handler.py31 response = None
39 response = Handler(request).Get()
47 self.response.out.write(s.getvalue())
48 self.response.headers['Content-Type'] = 'text/plain'
49 self.response.status = 200
50 elif response:
51 self.response.out.write(response.content.ToString())
52 self.response.headers.update(response
[all...]
/external/chromium_org/components/cdm/renderer/
H A Dandroid_key_systems.cc25 SupportedKeySystemResponse response; local
30 new ChromeViewHostMsg_QueryKeySystemSupport(request, &response));
31 DCHECK(!(response.compositing_codecs & ~content::EME_CODEC_ALL))
33 DCHECK(!(response.non_compositing_codecs & ~content::EME_CODEC_ALL))
35 return response;
39 SupportedKeySystemResponse response = QueryKeySystemSupport( local
41 if (response.compositing_codecs != content::EME_CODEC_NONE) {
44 static_cast<SupportedCodecs>(response.compositing_codecs),
48 if (response.non_compositing_codecs != content::EME_CODEC_NONE) {
51 static_cast<SupportedCodecs>(response
64 SupportedKeySystemResponse response = QueryKeySystemSupport(*it); local
[all...]
/external/chromium_org/content/test/data/service_worker/
H A Dfetch_event_reload.js9 var response = new Response(blob);
10 event.respondWith(response);
H A Dsync.js8 response = new Response(new Blob(), {
14 setTimeout(function() { r(response); }, 5);
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DFetchResponseData.cpp16 // "Unless stated otherwise, a response's url is null, status is 200, status
23 // "A network error is a response whose status is always 0, status message
31 // "A basic filtered response is a filtered response whose type is |basic|,
32 // header list excludes any headers in internal response's header list whose
34 FetchResponseData* response = new FetchResponseData(BasicType, m_status, m_statusMessage); local
35 response->m_url = m_url;
40 response->m_headerList->append(header->first, header->second);
42 response->m_blobDataHandle = m_blobDataHandle;
43 response
56 FetchResponseData* response = new FetchResponseData(CORSType, m_status, m_statusMessage); local
78 FetchResponseData* response = new FetchResponseData(OpaqueType, 0, ""); local
83 populateWebServiceWorkerResponse(WebServiceWorkerResponse& response) argument
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-references.js57 var response = safeEval(dcp.processDebugJSONRequest(request));
59 assertTrue(response.success, request + ' -> ' + response.message);
60 assertTrue(response.body instanceof Array);
62 assertEquals(count, response.body.length);
64 assertTrue(response.body.length > 0);
67 assertFalse(response.success, request + ' -> ' + response.message);
69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
88 var response
[all...]
H A Ddebug-scripts-request.js51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
78 var response = safeEval(dcp.processDebugJSONRequest(request));
79 assertTrue(response.success);
83 assertTrue(response.body.length >= 1);
85 var script = response.body[0];
88 var response = safeEval(dcp.processDebugJSONRequest(request));
89 assertTrue(response.success);
90 assertEquals(1, response
[all...]
H A Ddebug-backtrace.js62 ParsedResponse.prototype.response = function() {
91 var response;
104 response = new ParsedResponse(resp);
105 backtrace = response.body();
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
123 assertFalse(response
[all...]
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DPushPromise.java25 private final MockResponse response; field in class:PushPromise
27 public PushPromise(String method, String path, List<String> headers, MockResponse response) { argument
31 this.response = response;
47 return response;
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
H A DMacro.java33 private String response; field in class:Macro
53 return response;
56 public void setResponse(String response) { argument
57 this.response = response;
/external/apache-http/src/org/apache/http/protocol/
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context) argument
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response
[all...]
/external/chromium_org/third_party/WebKit/Tools/RebaselineLogServer/
H A Dmain_unittest.py56 response = request.get_response(main.app)
57 self.assertEqual(response.status_int, 200)
58 self.assertEqual(response.body, 'Wrote new log entry.')
60 response = request.get_response(main.app)
61 self.assertEqual(response.status_int, 200)
62 self.assertEqual(response.body, 'Wrote new log entry.')
70 response = request.get_response(main.app)
71 self.assertEqual(response.status_int, 200)
72 self.assertEqual(response.body, 'Added to existing log entry.')
80 response
[all...]
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Dadb_impl.cc31 void OnResponse(int result, const std::string& response) { argument
32 response_ = response;
38 std::string* response, const base::TimeDelta& timeout) {
51 *response = response_;
84 std::string response; local
85 Status status = ExecuteCommand("host:devices", &response);
88 base::StringTokenizer lines(response, "\n");
102 std::string response; local
107 &response);
110 if (response
37 GetResponse( std::string* response, const base::TimeDelta& timeout) argument
120 std::string response; local
139 std::string response; local
152 std::string response; local
165 std::string response; local
173 std::string response; local
189 std::string response; local
197 std::string response; local
225 ExecuteCommand( const std::string& command, std::string* response) argument
240 ExecuteHostCommand( const std::string& device_serial, const std::string& host_command, std::string* response) argument
247 ExecuteHostShellCommand( const std::string& device_serial, const std::string& shell_command, std::string* response) argument
[all...]

Completed in 544 milliseconds

1234567891011>>