/external/chromium_org/content/renderer/media/ |
H A D | cdm_session_adapter.cc | 104 const uint8* response, 108 web_session_id, response, response_length, promise.Pass()); 102 UpdateSession( const std::string& web_session_id, const uint8* response, int response_length, scoped_ptr<media::SimpleCdmPromise> promise) argument
|
H A D | webcontentdecryptionmodulesession_impl.cc | 72 void WebContentDecryptionModuleSessionImpl::update(const uint8* response, argument 123 const uint8* response, 126 DCHECK(response); 130 response, 122 update( const uint8* response, size_t response_length, blink::WebContentDecryptionModuleResult result) argument
|
/external/chromium_org/content/renderer/media/crypto/ |
H A D | proxy_media_keys.cc | 106 const uint8* response, 119 std::vector<uint8>(response, response + response_length)); 215 // Errors generally happen in response to a request, but it is possible 104 UpdateSession( const std::string& web_session_id, const uint8* response, int response_length, scoped_ptr<media::SimpleCdmPromise> promise) argument
|
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_url_loader_host.cc | 143 const WebURLResponse& response) { 145 total_bytes_to_be_received_ = response.expectedContentLength(); 148 SaveResponse(response); 392 void PepperURLLoaderHost::SaveResponse(const WebURLResponse& response) { argument 393 // When we're the main document loader, we send the response data up front, 395 // expected. We should not be getting redirects so the response sent 399 // We note when there's a callback in flight for a response to ensure that 408 response, 142 didReceiveResponse(WebURLLoader* loader, const WebURLResponse& response) argument
|
/external/chromium_org/content/renderer/ |
H A D | resource_fetcher_browsertest.cc | 57 virtual void OnURLFetchComplete(const WebURLResponse& response, argument 59 response_ = response; 71 const WebURLResponse& response() const { return response_; } function in class:content::FetcherDelegate 117 virtual void OnURLFetchComplete(const WebURLResponse& response, 119 FetcherDelegate::OnURLFetchComplete(response, data); 124 // invalidates |response| and |data|. 162 EXPECT_EQ(delegate->response().httpStatusCode(), 200); 181 EXPECT_EQ(delegate->response().httpStatusCode(), 404); 203 EXPECT_TRUE(delegate->response().isNull()); 225 EXPECT_TRUE(delegate->response() [all...] |
/external/chromium_org/content/renderer/service_worker/ |
H A D | service_worker_script_context.cc | 90 const ServiceWorkerResponse& response) { 92 GetRoutingID(), request_id, result, response)); 209 NOTREACHED() << "Got stray response: " << request_id; 87 DidHandleFetchEvent( int request_id, ServiceWorkerFetchEventResult result, const ServiceWorkerResponse& response) argument
|
/external/chromium_org/content/shell/renderer/test_runner/ |
H A D | mock_webrtc_peer_connection_handler.cc | 64 const blink::WebRTCStatsResponse& response) 67 response_(response) {} 279 WebRTCStatsResponse response = request.createResponse(); local 285 response.addReport("Mock video", "ssrc", current_date); 286 response.addStatistic(report_index, "type", "video"); 290 response.addReport("Mock audio", "ssrc", current_date); 291 response.addStatistic(report_index, "type", "audio"); 292 report_index = response.addReport("Mock video", "ssrc", current_date); 293 response.addStatistic(report_index, "type", "video"); 297 new RTCStatsRequestSucceededTask(this, request, response)); 62 RTCStatsRequestSucceededTask(MockWebRTCPeerConnectionHandler* object, const blink::WebRTCStatsRequest& request, const blink::WebRTCStatsResponse& response) argument [all...] |
H A D | test_plugin.h | 76 virtual void didReceiveResponse(const blink::WebURLResponse& response) {} argument
|
/external/chromium_org/content/test/ |
H A D | test_webkit_platform_support.cc | 251 const blink::WebURLResponse& response, 253 url_loader_factory_->RegisterURL(url, response, file_path); 258 const blink::WebURLResponse& response, 260 url_loader_factory_->RegisterErrorURL(url, response, error); 249 registerMockedURL( const blink::WebURL& url, const blink::WebURLResponse& response, const blink::WebString& file_path) argument 256 registerMockedErrorURL( const blink::WebURL& url, const blink::WebURLResponse& response, const blink::WebURLError& error) argument
|
/external/chromium_org/dbus/ |
H A D | end_to_end_async_unittest.cc | 156 // response is received. 166 // response is received without error, otherwise OnError() will be called. 184 // Called when the response is received. 185 void OnResponse(Response* response) { argument 186 // |response| will be deleted on exit of the function. Copy the 188 if (response) { 189 MessageReader reader(response); 292 // Check the response. 309 // Check the response. 445 // Check the response [all...] |
H A D | exported_object.cc | 226 // It's valid to say HANDLED here, and send a method response at a later 245 scoped_ptr<Response> response) { 253 base::Passed(&response), 256 OnMethodCompleted(method_call.Pass(), response.Pass(), start_time); 261 scoped_ptr<Response> response, 267 response ? 1 : 0, 275 if (!response) { 287 bus_->Send(response->raw_message(), NULL); 243 SendResponse(base::TimeTicks start_time, scoped_ptr<MethodCall> method_call, scoped_ptr<Response> response) argument 260 OnMethodCompleted(scoped_ptr<MethodCall> method_call, scoped_ptr<Response> response, base::TimeTicks start_time) argument
|
H A D | object_manager_unittest.cc | 112 void MethodCallback(Response* response) { argument
|
/external/chromium_org/device/media_transfer_protocol/ |
H A D | media_transfer_protocol_daemon_client.cc | 212 dbus::Response* response) { 213 if (!response) { 217 dbus::MessageReader reader(response); 220 LOG(ERROR) << kInvalidResponseMsg << response->ToString(); 232 dbus::Response* response) { 233 if (!response) { 238 dbus::MessageReader reader(response); 241 LOG(ERROR) << kInvalidResponseMsg << response->ToString(); 251 dbus::Response* response) { 252 if (!response) { 210 OnEnumerateStorages(const EnumerateStoragesCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 229 OnGetStorageInfo(const std::string& storage_name, const GetStorageInfoCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 249 OnOpenStorage(const OpenStorageCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 268 OnCloseStorage(const CloseStorageCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 280 OnReadDirectoryIds(const ReadDirectoryEntryIdsCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 311 OnGetFileInfo(const GetFileInfoCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument 335 OnReadFile(const ReadFileCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument [all...] |
/external/chromium_org/extensions/browser/api/bluetooth/ |
H A D | bluetooth_private_api.cc | 75 "Pairing must be enabled to set a pairing response."; 78 "Invalid pairing response options"; 83 // Returns true if the pairing response options passed into the 88 bool response = options.response != bt_private::PAIRING_RESPONSE_NONE; local 92 if (!response && !pincode && !passkey) 96 if (options.response != bt_private::PAIRING_RESPONSE_CONFIRM && 100 // Check the BluetoothDevice is in expecting the correct response. 108 if (options.response == bt_private::PAIRING_RESPONSE_CONFIRM && !pincode && 269 switch (options.response) { [all...] |
/external/chromium_org/extensions/browser/api/cast_channel/ |
H A D | cast_auth_util_nss.cc | 630 kErrorPrefix + "Auth message has no response field", 639 AuthResult VerifyCredentials(const AuthResponse& response, argument 642 const std::string& certificate = response.client_auth_certificate(); 643 const std::string& signature = response.signature(); 651 int num_intermediates = response.intermediate_certificate_size(); 658 const std::string& ica = response.intermediate_certificate(0); 757 const AuthResponse& response = auth_message.response(); local 758 result = VerifyCredentials(response, peer_cert);
|
/external/chromium_org/extensions/renderer/ |
H A D | script_context.cc | 237 const base::ListValue& response, 246 converter->ToV8Value(&response, v8_context_.NewHandle(isolate())), 234 OnResponseReceived(const std::string& name, int request_id, bool success, const base::ListValue& response, const std::string& error) argument
|
/external/chromium_org/google_apis/gcm/engine/ |
H A D | checkin_request_unittest.cc | 62 VALID_RESPONSE, // Both android_id and security_token set in response. 73 const checkin_proto::AndroidCheckinResponse& response); 170 checkin_proto::AndroidCheckinResponse response; local 171 response.set_stats_ok(true); 178 response.set_android_id(android_id); 181 response.set_security_token(security_token); 184 response.SerializeToString(&response_string); 242 SetResponseStatusAndString(net::HTTP_OK, "Corrupted response body");
|
H A D | registration_request.cc | 57 // Error=ERROR_STRING in response. 200 std::string response; local 201 if (!source->GetResponseAsString(&response)) { 202 LOG(ERROR) << "Failed to parse registration response as a string."; 207 size_t token_pos = response.find(kTokenPrefix); 209 *token = response.substr(token_pos + arraysize(kTokenPrefix) - 1); 215 // will have HTTP_BAD_REQUEST, some will have HTTP_OK response code. 216 size_t error_pos = response.find(kErrorPrefix); 218 std::string error = response.substr( 223 // If we cannot tell what the error is, but at least we know response cod [all...] |
H A D | unregistration_request.cc | 71 std::string response; local 72 if (!source->GetResponseAsString(&response)) { 73 DVLOG(1) << "Failed to get response body."; 77 DVLOG(1) << "Parsing unregistration response."; 78 if (response.find(kDeletedPrefix) != std::string::npos) { 79 std::string app_id = response.substr( 80 response.find(kDeletedPrefix) + arraysize(kDeletedPrefix) - 1); 86 if (response.find(kErrorPrefix) != std::string::npos) { 87 std::string error = response.substr( 88 response [all...] |
/external/chromium_org/ipc/mojo/ |
H A D | ipc_channel_mojo_readers.cc | 246 DLOG(ERROR) << "Failed to parse Hello response."; 285 Pickle response = HelloMessage::CreateResponse(owner_->GetSelfPID()); local 288 response.data(), 289 static_cast<uint32>(response.size()), 294 DLOG(ERROR) << "Writing Hello response failed: " << write_result;
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
H A D | InterfacesTest.java | 129 Response response = new Response(); 130 response.x = 42; 131 mFactoryClient.didStuff(response, "Hello"); 191 public void didStuff(Response response, String text) { argument
|
/external/chromium_org/mojo/examples/png_viewer/ |
H A D | png_viewer.cc | 41 static void Spawn(URLResponsePtr response, argument 47 response.Pass(), exported_services, imported_services.Pass(), shell); 56 PNGView(URLResponsePtr response, argument 65 DecodePNG(response.Pass()); 102 void DecodePNG(URLResponsePtr response) { argument 103 int content_length = GetContentLength(response->headers); 110 response->body.get(), buf, &num_bytes, MOJO_READ_DATA_FLAG_NONE); 112 Wait(response->body.get(), 197 URLResponsePtr response, 203 PNGView::Spawn(response [all...] |
/external/chromium_org/mojo/services/html_viewer/ |
H A D | html_document_view.cc | 74 // If we have extraData() it means we already have the url response 88 URLResponsePtr response, 103 Load(response.Pass()); 132 void HTMLDocumentView::Load(URLResponsePtr response) { argument 138 GURL url(response->url); 141 extra_data->synthetic_response = response.Pass(); 87 HTMLDocumentView( URLResponsePtr response, InterfaceRequest<ServiceProvider> service_provider_request, Shell* shell, scoped_refptr<base::MessageLoopProxy> compositor_thread, WebMediaPlayerFactory* web_media_player_factory) argument
|
H A D | weburlloader_impl.cc | 89 blink::WebURLResponse& response, 87 loadSynchronously( const blink::WebURLRequest& request, blink::WebURLResponse& response, blink::WebURLError& error, blink::WebData& data) argument
|
/external/chromium_org/mojo/services/network/ |
H A D | web_socket_impl.cc | 88 scoped_ptr<net::WebSocketHandshakeResponseInfo> response) OVERRIDE; 161 scoped_ptr<net::WebSocketHandshakeResponseInfo> response) { 160 OnFinishOpeningHandshake( scoped_ptr<net::WebSocketHandshakeResponseInfo> response) argument
|