Searched refs:response (Results 201 - 225 of 1408) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/services/html_viewer/
H A Dweburlloader_impl.h35 const blink::WebURLRequest& request, blink::WebURLResponse& response,
42 void OnReceivedResponse(URLResponsePtr response);
43 void OnReceivedError(URLResponsePtr response);
44 void OnReceivedRedirect(URLResponsePtr response);
/external/chromium_org/ppapi/c/
H A Dppp_message_handler.h69 * @param[out] response will be copied to a JavaScript object which is
76 struct PP_Var* response);
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DThreadableLoaderClientWrapper.h66 void didReceiveResponse(unsigned long identifier, const ResourceResponse& response) argument
69 m_client->didReceiveResponse(identifier, response);
115 void didReceiveAuthenticationCancellation(unsigned long identifier, const ResourceResponse& response) argument
118 m_client->didReceiveResponse(identifier, response);
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DURLTestHelpers.cpp56 WebURLResponse response(fullURL);
57 response.setMIMEType(mimeType);
58 response.setHTTPStatusCode(200);
66 Platform::current()->unitTestSupport()->registerMockedURL(fullURL, response, WebString::fromUTF8(filePath.c_str()));
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
H A DMediaKeySession.idl45 [CallWith=ScriptState] Promise update(ArrayBuffer response);
46 [CallWith=ScriptState] Promise update(ArrayBufferView response);
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_timeline.py10 """An exception which indicates an error response from devtools inspector."""
88 timeout: Number of seconds to wait for a response.
91 The result given in the response message.
94 TabBackendException: The response indicates an error occurred.
96 response = self._inspector_backend.SyncRequest(request, timeout)
97 if 'error' in response:
98 raise TabBackendException(response['error']['message'])
99 return response['result']
/external/smack/src/org/apache/harmony/javax/security/sasl/
H A DSaslServer.java24 byte[] evaluateResponse(byte[] response) throws SaslException; argument
/external/chromium_org/content/renderer/pepper/
H A Durl_response_info_util.cc73 const WebURLResponse& response,
76 data.url = response.url().spec();
77 data.status_code = response.httpStatusCode();
78 data.status_text = response.httpStatusText().utf8();
81 response.httpHeaderField(WebString::fromUTF8("Location")).utf8();
85 response.visitHTTPHeaderFields(&flattener);
88 WebString file_path = response.downloadFilePath();
71 DataFromWebURLResponse(RendererPpapiHostImpl* host_impl, PP_Instance pp_instance, const WebURLResponse& response, const DataFromWebURLResponseCallback& callback) argument
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
H A DJsonpRequestBuilderTest.java110 * @param response
111 * Reply to any request with this response.
115 public static String execute(long timeoutMillis, String response) throws IOException { argument
116 HttpServer server = new HttpServer(timeoutMillis, response);
135 outputStream.write(response);
145 private HttpServer(long waitMillis, String response) throws IOException { argument
147 this.response = (header + response).getBytes();
152 private byte[] response; field in class:JsonpRequestBuilderTest.HttpServer
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DRecordingReceiver.java43 @Override public synchronized boolean onResponse(Response response) throws IOException { argument
44 ByteArrayOutputStream out = inFlightResponses.get(response);
47 inFlightResponses.put(response, out);
51 Response.Body body = response.body();
57 inFlightResponses.remove(response);
59 response.request(), response, out.toString("UTF-8"), null));
71 * Returns the recorded response triggered by {@code request}. Throws if the
72 * response isn't enqueued before the timeout.
90 throw new AssertionError("Timed out waiting for response t
[all...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dcloud_print_requester.h36 // Invoked when server respond for registration-start query and response is
44 // response is successfully parsed.
58 // response.
64 // Invoked when server error is received or cannot parse json response.
73 // Invoked when fetch response was received.
84 // Invoked when local settings response was received.
100 // Returns |true| if either |gaia| or |request| is awaiting for response.
137 virtual void OnFetchComplete(const std::string& response) OVERRIDE;
165 // Parses register-start server response.
166 void ParseRegisterStart(const std::string& response);
[all...]
/external/chromium_org/remoting/host/
H A Dregister_support_host_request.cc107 bool RegisterSupportHostRequest::ParseResponse(const XmlElement* response, argument
110 std::string type = response->Attr(buzz::QN_TYPE);
112 LOG(ERROR) << "Received error in response to heartbeat: "
113 << response->Str();
123 const XmlElement* result_element = response->FirstNamed(QName(
127 << "> is missing in the host registration response: "
128 << response->Str();
136 << "> is missing in the host registration response: "
137 << response->Str();
146 << "> is missing in the host registration response
165 ProcessResponse(IqRequest* request, const XmlElement* response) argument
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-setbreakpoint.js55 var response = safeEval(json_response);
57 assertTrue(response.success, request + ' -> ' + json_response);
59 assertEquals('scriptName', response.body.type, request + ' -> ' + json_response);
61 assertEquals('scriptId', response.body.type, request + ' -> ' + json_response);
64 assertFalse(response.success, request + ' -> ' + json_response);
66 return response;
77 var response = safeEval(dcp.processDebugJSONRequest(request));
78 assertFalse(response.success);
125 response = testArguments(dcp, request, true, false);
126 assertEquals(g_line + 2, response
[all...]
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dincident_report_uploader_impl.cc80 scoped_ptr<ClientIncidentResponse> response; local
86 response.reset(new ClientIncidentResponse());
87 if (!response->ParseFromString(data)) {
88 response.reset();
96 callback_.Run(result, response.Pass());
/external/chromium_org/chrome/browser/search/
H A Diframe_source.cc76 scoped_refptr<base::RefCountedStaticMemory> response(
78 callback.Run(response.get());
94 std::string response(template_js.as_string());
95 ReplaceFirstSubstringAfterOffset(&response, 0, "{{ORIGIN}}", origin);
96 callback.Run(base::RefCountedString::TakeString(&response));
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dfile_entry_binding_util.js31 function(name, request, response) {
32 if (request.callback && response) {
50 // Loop through the response entries and asynchronously get the
54 $Array.forEach(response.entries, function(entry) {
71 if (entries.length == response.entries.length) {
72 if (response.multiple) {
/external/chromium_org/chromeos/dbus/
H A Dshill_service_client_unittest.cc88 // Create response.
89 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
90 dbus::MessageWriter writer(response.get());
106 response.get());
116 // Create response.
117 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
125 response.get());
142 // Create response.
143 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
149 response
[all...]
/external/chromium_org/content/test/
H A Dweburl_loader_mock_factory.h40 // Registers a response and the contents to be served when the specified URL
43 const blink::WebURLResponse& response,
48 const blink::WebURLResponse& response,
68 blink::WebURLResponse* response,
79 blink::WebURLResponse response; member in struct:WebURLLoaderMockFactory::ResponseInfo
84 // Loads the specified request and populates the response, error and data
87 blink::WebURLResponse* response,
/external/chromium_org/extensions/renderer/resources/
H A Dpermissions_custom_bindings.js65 function(name, request, response) {
66 for (var i = 0; i < response.permissions.length; i += 1) {
67 response.permissions[i] =
68 maybeConvertToObject(response.permissions[i]);
77 $Function.apply(request.callback, request, [response]);
/external/chromium_org/mojo/tools/package_manager/
H A Dpackage_fetcher.cc33 void PackageFetcher::OnReceivedResponse(URLResponsePtr response) { argument
34 if (response->error) {
36 response->error->code,
37 response->error->description.get().c_str(),
56 body_ = response->body.Pass();
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dstunserver.cc55 // 420 "Unknown Attribute" response.
70 StunMessage response; local
71 response.SetType(STUN_BINDING_RESPONSE);
72 response.SetTransactionID(msg->transaction_id());
82 response.AddAttribute(mapped_addr);
84 SendResponse(response, remote_addr);
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
H A DHttpDeleteRequestTest.java15 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, "");
33 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String)null);
51 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (InputStream)null);
69 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.OK, "application/xml", "<body />");
88 testServer.response = new NanoHTTPD.Response(NanoHTTPD.Response.Status.ACCEPTED, "application/xml", "<body />");
/external/chromium_org/content/child/
H A Dmultipart_response_delegate_unittest.cc60 const WebURLResponse& response) {
62 response_ = response;
98 WebURLResponse response; local
99 response.initialize();
100 response.setMIMEType("multipart/x-mixed-replace");
101 response.setHTTPHeaderField("Foo", "Bar");
102 response.setHTTPHeaderField("Content-type", "text/plain");
104 MultipartResponseDelegate delegate(&client, NULL, response, "bound");
157 // Test that the resource response is filled in correctly when parsing
202 WebURLResponse response; local
59 didReceiveResponse(WebURLLoader* loader, const WebURLResponse& response) argument
277 WebURLResponse response; local
328 WebURLResponse response; local
442 WebURLResponse response; local
471 WebURLResponse response; local
639 WebURLResponse response; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DResourceResponse.cpp99 OwnPtr<ResourceResponse> response = adoptPtr(new ResourceResponse); local
100 response->setURL(data->m_url);
101 response->setMimeType(AtomicString(data->m_mimeType));
102 response->setExpectedContentLength(data->m_expectedContentLength);
103 response->setTextEncodingName(AtomicString(data->m_textEncodingName));
104 response->setSuggestedFilename(data->m_suggestedFilename);
106 response->setHTTPStatusCode(data->m_httpStatusCode);
107 response->setHTTPStatusText(AtomicString(data->m_httpStatusText));
109 response->m_httpHeaderFields.adopt(data->m_httpHeaders.release());
110 response
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DFetchManager.cpp78 void FetchManager::Loader::didReceiveResponse(unsigned long, const ResourceResponse& response) argument
80 m_response = response;
94 FetchResponseData* response = FetchResponseData::create(); local
95 response->setStatus(m_response.httpStatusCode());
96 response->setStatusMessage(m_response.httpStatusText());
99 response->headerList()->append(it->key, it->value);
101 response->setBlobDataHandle(BlobDataHandle::create(blobData.release(), m_downloadedBlobLength));
102 response->setURL(m_request->url());
106 response = response
[all...]

Completed in 2420 milliseconds

1234567891011>>