Searched defs:response (Results 326 - 350 of 714) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_adb_bridge_browsertest.cc137 const char* response; variable
140 response = device_model_;
142 response = kSampleOpenedUnixSockets;
144 response = kSampleListProcesses;
146 response = kSampleListPackages;
148 response = kSampleDumpsysCommand;
156 this, callback, 0, response));
160 const std::string& response) {
161 callback.Run(result, response);
172 const char* response; variable
159 RunCommandCallback(const CommandCallback& callback, int result, const std::string& response) argument
[all...]
/external/chromium_org/chrome/browser/drive/
H A Ddrive_uploader.cc353 const UploadRangeResponse& response,
357 if (response.code == HTTP_CREATED || response.code == HTTP_SUCCESS) {
377 if (response.code == HTTP_PRECONDITION) {
385 if (response.code != HTTP_RESUME_INCOMPLETE ||
386 response.start_position_received != 0) {
388 << "UploadNextChunk http code=" << response.code
389 << ", start_position_received=" << response.start_position_received
390 << ", end_position_received=" << response.end_position_received;
393 response
351 OnUploadRangeResponseReceived( scoped_ptr<UploadFileInfo> upload_file_info, const UploadRangeResponse& response, scoped_ptr<ResourceEntry> entry) argument
[all...]
H A Ddrive_uploader_unittest.cc179 // Callback with response.
180 UploadRangeResponse response; local
186 response = UploadRangeResponse(response_code, -1, -1);
192 response = UploadRangeResponse(
197 base::Bind(callback, response, base::Passed(&entry)));
H A Dfake_drive_service_unittest.cc1891 UploadRangeResponse response; local
1897 test_util::CreateCopyResultCallback(&response, &entry),
1901 EXPECT_EQ(GDATA_NO_CONNECTION, response.code);
1921 UploadRangeResponse response; local
1927 test_util::CreateCopyResultCallback(&response, &entry),
1931 EXPECT_EQ(HTTP_NOT_FOUND, response.code);
1958 UploadRangeResponse response; local
1965 test_util::CreateCopyResultCallback(&response, &entry),
1970 EXPECT_EQ(HTTP_RESUME_INCOMPLETE, response.code);
1983 test_util::CreateCopyResultCallback(&response,
2027 UploadRangeResponse response; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/enterprise_platform_keys_private/
H A Denterprise_platform_keys_private_api_unittest.cc98 base::Bind(callback, true, "response"));
321 std::string response; local
322 value->GetAsString(&response);
323 EXPECT_EQ("cmVzcG9uc2U=" /* Base64 encoding of 'response' */, response);
496 std::string response; local
497 value->GetAsString(&response);
498 EXPECT_EQ("cmVzcG9uc2U=" /* Base64 encoding of 'response' */, response);
/external/chromium_org/chrome/browser/managed_mode/
H A Dmanaged_user_refresh_token_fetcher_unittest.cc58 const std::string& response) {
62 url_fetcher->SetResponseString(response);
57 SendResponse(net::TestURLFetcher* url_fetcher, const std::string& response) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Ddownload_feedback.cc66 const std::string& response);
75 // The safebrowsing request and response of checking that this binary is
163 ClientUploadResponse response; local
164 if (!response.ParseFromString(response_data) ||
165 response.status() != ClientUploadResponse::SUCCESS)
/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client_unittest.cc40 const std::string& response)
46 SetResponseString(response);
212 // that it parses a JSON response from the service and calls the callback
383 // Verify that an error in JSON response from spelling service will result in
33 TestSpellingURLFetcher(int id, const GURL& url, net::URLFetcherDelegate* d, int version, const std::string& text, const std::string& language, int status, const std::string& response) argument
/external/chromium_org/chrome/browser/ui/gtk/
H A Dcreate_application_shortcuts_dialog_gtk.cc191 g_signal_connect(create_dialog_, "response",
208 GtkWidget* widget, int response) {
211 if (response == GTK_RESPONSE_ACCEPT) {
232 GtkWidget* widget, int response) {
278 g_signal_connect(error_dialog_, "response",
207 OnCreateDialogResponse( GtkWidget* widget, int response) argument
231 OnErrorDialogResponse( GtkWidget* widget, int response) argument
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/
H A Dopenid.php132 $response = curl_exec($curl); variable
138 return $response;
477 $response = $this->request($server, 'POST', $params); variable
479 return preg_match('/is_valid\s*:\s*true/i', $response);
502 # so there is no AX data in the OP's response
/external/chromium_org/chrome/renderer/
H A Dchrome_mock_render_thread.cc218 void ChromeMockRenderThread::set_print_dialog_user_response(bool response) { argument
219 print_dialog_user_response_ = response;
/external/chromium_org/chrome/renderer/media/
H A Dchrome_key_systems.cc286 SupportedKeySystemResponse response; local
295 new ChromeViewHostMsg_GetSupportedKeySystems(request, &response));
296 DCHECK_EQ(response.compositing_codecs >> 3, 0) << "unrecognized codec";
297 DCHECK_EQ(response.non_compositing_codecs >> 3, 0) << "unrecognized codec";
298 if (response.compositing_codecs != android::NO_SUPPORTED_CODECS) {
301 static_cast<SupportedCodecs>(response.compositing_codecs),
305 if (response.non_compositing_codecs != android::NO_SUPPORTED_CODECS) {
308 static_cast<SupportedCodecs>(response.non_compositing_codecs),
/external/chromium_org/chrome/test/automation/
H A Dbrowser_proxy.cc264 std::string* response) {
272 response,
262 SendJSONRequest(const std::string& request, int timeout_ms, std::string* response) argument
/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
166 std::string response; local
182 std::string response; local
190 std::string response; local
218 ExecuteCommand( const std::string& command, std::string* response) argument
233 ExecuteHostCommand( const std::string& device_serial, const std::string& host_command, std::string* response) argument
240 ExecuteHostShellCommand( const std::string& device_serial, const std::string& shell_command, std::string* response) argument
[all...]
H A Ddevtools_client_impl.h95 // The client is waiting for the response.
97 // The command response will not be received because it is blocked by an
100 // The client no longer cares about the response.
102 // The response has been received.
111 internal::InspectorCommandResponse response; member in struct:DevToolsClientImpl::ResponseInfo
122 const internal::InspectorCommandResponse& response);
H A Ddevtools_http_client.cc275 std::string* response) {
277 bool ok = FetchUrl(url, getter, response);
279 VLOG(1) << "DevTools response: " << *response;
273 FetchUrlAndLog(const std::string& url, URLRequestContextGetter* getter, std::string* response) argument
/external/chromium_org/chrome/test/chromedriver/server/
H A Dchromedriver_server.cc76 scoped_ptr<net::HttpServerResponseInfo> response) {
80 response->AddHeader("Connection", "close");
81 server_->SendResponse(connection_id, *response);
93 scoped_ptr<net::HttpServerResponseInfo> response) {
95 FROM_HERE, base::Bind(send_response_on_io_func, base::Passed(&response)));
164 // Run the command loop. This loop is quit after the response for a shutdown
168 // This assumes the response is sent synchronously as part of the IO task.
75 OnResponse(int connection_id, scoped_ptr<net::HttpServerResponseInfo> response) argument
90 SendResponseOnCmdThread( const scoped_refptr<base::SingleThreadTaskRunner>& io_task_runner, const HttpResponseSenderFunc& send_response_on_io_func, scoped_ptr<net::HttpServerResponseInfo> response) argument
H A Dhttp_handler.cc539 scoped_ptr<net::HttpServerResponseInfo> response(
541 response->SetBody("unhandled request", "text/plain");
542 send_response_func.Run(response.Pass());
586 scoped_ptr<net::HttpServerResponseInfo> response(
588 response->SetBody("unknown command: " + trimmed_path, "text/plain");
589 send_response_func.Run(response.Pass());
603 scoped_ptr<net::HttpServerResponseInfo> response(
605 response->SetBody("missing command parameters", "test/plain");
606 send_response_func.Run(response.Pass());
627 scoped_ptr<net::HttpServerResponseInfo> response local
[all...]
/external/chromium_org/chrome/test/pyautolib/
H A Dpyautolib.cc110 std::string response; local
116 ErrorResponse("Automation proxy does not exist", request, false, &response);
119 request, false, &response);
121 new AutomationMsg_SendJSONRequest(window_index, request, &response,
126 &response);
128 return response;
135 std::string* response) {
143 base::JSONWriter::Write(&error_dict, response);
150 std::string* response) {
156 request, true, response);
131 ErrorResponse( const std::string& error_string, const std::string& request, bool is_timeout, std::string* response) argument
146 RequestFailureResponse( const std::string& request, const base::TimeDelta& duration, const base::TimeDelta& timeout, std::string* response) argument
[all...]
/external/chromium_org/chromeos/dbus/
H A Dcras_audio_client.cc254 dbus::Response* response) {
257 if (response) {
258 dbus::MessageReader reader(response);
265 LOG(ERROR) << "Error reading response from cras: "
266 << response->ToString();
277 dbus::Response* response) {
280 if (response) {
281 dbus::MessageReader response_reader(response);
282 dbus::MessageReader array_reader(response);
286 LOG(ERROR) << "Error reading response fro
253 OnGetVolumeState(const GetVolumeStateCallback& callback, dbus::Response* response) argument
276 OnGetNodes(const GetNodesCallback& callback, dbus::Response* response) argument
310 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument
326 GetAudioNode(dbus::Response* response, dbus::MessageReader* array_reader, AudioNode *node) argument
[all...]
H A Dcryptohome_client.cc143 scoped_ptr<dbus::Response> response = variable
147 if (response) {
148 dbus::MessageReader reader(response.get());
304 scoped_ptr<dbus::Response> response(
306 return response.get() != NULL;
355 scoped_ptr<dbus::Response> response(
357 if (!response.get())
359 dbus::MessageReader reader(response.get());
720 dbus::Response* response) {
721 if (!response)
719 OnAsyncMethodCall(const AsyncMethodCallback& callback, dbus::Response* response) argument
733 OnGetSystemSalt(const GetSystemSaltCallback& callback, dbus::Response* response) argument
759 OnVoidMethod(const VoidDBusMethodCallback& callback, dbus::Response* response) argument
790 OnBoolMethod(const BoolDBusMethodCallback& callback, dbus::Response* response) argument
807 OnStringMethod(const StringDBusMethodCallback& callback, dbus::Response* response) argument
823 OnDataMethod(const DataMethodCallback& callback, dbus::Response* response) argument
843 OnPkcs11GetTpmTokenInfo(const Pkcs11GetTpmTokenInfoCallback& callback, dbus::Response* response) argument
862 OnPkcs11GetTpmTokenInfoForUser( const Pkcs11GetTpmTokenInfoCallback& callback, dbus::Response* response) argument
[all...]
H A Ddebug_daemon_client.cc416 // Called when a CheckValidity response is received.
434 // Called when a response for GetDebugLogs() is received.
436 dbus::Response* response) {
437 if (!response) {
445 // Called when a response for SetDebugMode() is received.
447 dbus::Response* response) {
448 if (!response) {
457 dbus::Response* response) {
459 if (response) {
460 dbus::MessageReader reader(response);
435 OnGetDebugLogs(const GetDebugLogsCallback& callback, dbus::Response* response) argument
446 OnSetDebugMode(const SetDebugModeCallback& callback, dbus::Response* response) argument
456 OnGetRoutes(const GetRoutesCallback& callback, dbus::Response* response) argument
472 OnGetNetworkStatus(const GetNetworkStatusCallback& callback, dbus::Response* response) argument
481 OnGetModemStatus(const GetModemStatusCallback& callback, dbus::Response* response) argument
490 OnGetWiMaxStatus(const GetWiMaxStatusCallback& callback, dbus::Response* response) argument
499 OnGetNetworkInterfaces(const GetNetworkInterfacesCallback& callback, dbus::Response* response) argument
508 OnGetPerfData(const GetPerfDataCallback& callback, dbus::Response* response) argument
530 OnGetAllLogs(const GetLogsCallback& callback, dbus::Response* response) argument
553 OnGetUserLogFiles(const GetLogsCallback& callback, dbus::Response* response) argument
559 OnStartSystemTracing(dbus::Response* response) argument
590 OnRequestStopSystemTracing(dbus::Response* response) argument
601 OnTestICMP(const TestICMPCallback& callback, dbus::Response* response) argument
[all...]
H A Dgsm_sms_client.cc118 void OnDelete(const DeleteCallback& callback, dbus::Response* response) { argument
119 if (!response)
125 void OnGet(const GetCallback& callback, dbus::Response* response) { argument
126 if (!response)
128 dbus::MessageReader reader(response);
132 LOG(WARNING) << "Invalid response: " << response->ToString();
139 void OnList(const ListCallback& callback, dbus::Response* response) { argument
140 if (!response)
142 dbus::MessageReader reader(response);
[all...]
H A Dmodem_messaging_client.cc99 void OnDelete(const DeleteCallback& callback, dbus::Response* response) { argument
100 if (!response)
106 void OnList(const ListCallback& callback, dbus::Response* response) { argument
107 if (!response)
109 dbus::MessageReader reader(response);
112 LOG(WARNING) << "Invalid response: " << response->ToString();
H A Dnfc_client_helpers.cc16 void OnSuccess(const base::Closure& callback, dbus::Response* response) { argument
17 DCHECK(response);
22 dbus::ErrorResponse* response) {
23 // Error response has optional error message argument.
26 if (response) {
27 dbus::MessageReader reader(response);
28 error_name = response->GetErrorName();
21 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument

Completed in 462 milliseconds

<<11121314151617181920>>