/external/chromium_org/mojo/shell/ |
H A D | dbus_application_loader_linux.cc | 103 void ActivateService(dbus::Response* response) { argument
|
H A D | dynamic_application_loader.cc | 150 void OnLoadComplete(URLResponsePtr response) { argument 151 if (response->error) { 152 LOG(ERROR) << "Error (" << response->error->code << ": " 153 << response->error->description << ") while fetching " 154 << response->url; 160 mime_type_to_url_->find(response->mime_type); 162 load_callbacks_->LoadWithContentHandler(iter->second, response.Pass()); 168 response->body.Pass(),
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/ |
H A D | js_fs.cc | 287 Error JsFs::ErrorFromResponse(const ScopedVar& response) { argument 289 if (ScanVar(response.pp_var(), "%d", "error", &error) != 1) { 290 LOG_ERROR("Expected \"error\" field in response."); 385 PP_Var response = iter->second; local 387 return response; 397 ScopedVar response(ppapi_); 398 if (!SendRequestAndWait(&response, "%s%s%d", 408 int result = ScanVar(response.pp_var(), "%d%d", "error", &error, "fd", &fd); 413 LOG_ERROR("Expected \"error\" and \"fd\" fields in response."); 422 ScopedVar response(ppapi 486 PP_Var response = *va_arg(args, PP_Var*); local [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_pepper_interface_url_loader.cc | 65 response(0), 70 if (response != 0) 71 manager->Release(response); 80 PP_Resource response; member in class:__anon8951::FakeURLLoaderResource 124 FakeURLResponseInfoResource* response, 132 response->headers += ss.str(); 137 FakeURLResponseInfoResource* response, 160 response->status_code = 416; // Request range not satisfiable. 179 // Also add a "Content-Range" response header. 183 response 123 HandleContentLength(FakeURLLoaderResource* loader, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument 135 HandlePartial(FakeURLLoaderResource* loader, FakeURLRequestInfoResource* request, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument [all...] |
/external/chromium_org/net/cert/ |
H A D | ct_objects_extractor_openssl.cc | 278 CBS response_type, response; local 289 !CBS_get_asn1(&response_bytes, &response, CBS_ASN1_OCTETSTRING) || 300 if (!CBS_get_asn1(&response, &basic_response, CBS_ASN1_SEQUENCE) || 301 CBS_len(&response) != 0 ||
|
/external/chromium_org/net/dns/ |
H A D | dns_test_util.cc | 36 // A DnsTransaction which uses MockDnsClientRuleList to determine the response. 98 DnsResponse response; local 99 char* buffer = response.io_buffer()->data(); 138 EXPECT_TRUE(response.InitParse(nbytes, query)); 139 callback_.Run(this, OK, &response);
|
/external/chromium_org/net/http/ |
H A D | http_auth_handler_digest.cc | 30 // qop |algorithm | response | 364 std::string response = AssembleResponseDigest(method, path, credentials, local 366 // No need to call HttpUtil::Quote() as the response digest cannot contain 368 authorization += ", response=\"" + response + "\"";
|
/external/chromium_org/net/spdy/ |
H A D | spdy_http_stream_unittest.cc | 178 HttpResponseInfo response; local 192 EXPECT_EQ(ERR_IO_PENDING, http_stream->SendRequest(headers, &response, 355 HttpResponseInfo response; local 365 headers, &response, callback.callback())); 368 // This results in writing the post body and reading the response headers. 433 HttpResponseInfo response; local 436 EXPECT_EQ(ERR_IO_PENDING, http_stream->SendRequest(headers, &response, 452 // Read response headers. 456 // Read and check |chunk1| response. 464 // Read and check |chunk2| response 532 HttpResponseInfo response; local 617 HttpResponseInfo response; local 672 HttpResponseInfo response; local 746 HttpResponseInfo response; local [all...] |
H A D | spdy_stream_unittest.cc | 207 // Send some basic response headers. 208 SpdyHeaderBlock response; local 209 response[spdy_util_.GetStatusKey()] = "200"; 210 response[spdy_util_.GetVersionKey()] = "OK"; 212 response, base::Time::Now(), base::TimeTicks::Now()); 313 // frame-sized chunks for a request/response (i.e., an HTTP-like) 811 // request/response (i.e., an HTTP-like) stream resumes after a stall
|
/external/chromium_org/net/test/embedded_test_server/ |
H A D | embedded_test_server.cc | 232 scoped_ptr<HttpResponse> response = local 234 if (response.get()) { 235 connection->SendResponse(response.Pass());
|
/external/chromium_org/net/url_request/ |
H A D | url_request_throttler_entry.cc | 228 const URLRequestThrottlerHeaderInterface* response) { 229 if (IsConsideredError(response->GetResponseCode())) { 234 std::string throttling_header = response->GetNormalizedValue( 245 // UpdateWithResponse() with a response categorized as "good". To end 249 // We do nothing for a response that is already being considered an error 226 UpdateWithResponse( const std::string& host, const URLRequestThrottlerHeaderInterface* response) argument
|
H A D | view_cache_helper.cc | 302 HttpResponseInfo response; local 305 buf_->data(), buf_len_, &response, &truncated) && 306 response.headers.get()) { 311 data_->append(EscapeForHTML(response.headers->GetStatusLine())); 316 while (response.headers->EnumerateHeaderLines(&iter, &name, &value)) {
|
/external/chromium_org/pdf/ |
H A D | document_loader.cc | 41 pp::URLResponseInfo response = loader_.GetResponseInfo(); local 42 pp::Var headers_var = response.GetHeaders(); 319 // i.e. sniff response to 406 // DidRead for this response. Note that this code DOES NOT handle multi- 420 // If we did not get content-length in the response, we can't
|
/external/chromium_org/remoting/client/plugin/ |
H A D | pepper_port_allocator.cc | 23 // Read buffer we allocate per read when reading response from 24 // URLLoader. Normally the response from URL loader is smaller than 1kB. 111 // Add a configuration without relay response first so local and STUN 112 // candidates can be allocated without waiting for the relay response. 152 pp::URLResponseInfo response = relay_url_loader_->GetResponseInfo(); local 153 DCHECK(!response.is_null()); 154 if (response.GetStatusCode() != 200) { 155 LOG(WARNING) << "Received HTTP status code " << response.GetStatusCode(); 182 LOG(WARNING) << "Failed to read HTTP response body when "
|
/external/chromium_org/remoting/host/ |
H A D | chromoting_host.cc | 273 protocol::SessionManager::IncomingSessionResponse* response) { 277 *response = protocol::SessionManager::DECLINE; 284 *response = protocol::SessionManager::OVERLOAD; 292 *response = protocol::SessionManager::INCOMPATIBLE; 298 *response = protocol::SessionManager::ACCEPT; 271 OnIncomingSession( protocol::Session* session, protocol::SessionManager::IncomingSessionResponse* response) argument
|
H A D | gnubby_auth_handler_posix.cc | 135 std::string response; local 137 ConvertListValueToString(bytes, &response)) { 138 HOST_LOG << "Sending gnubby response: " << GetCommandCode(response); 139 iter->second->SendResponse(response);
|
H A D | heartbeat_sender.cc | 124 const XmlElement* response) { 125 std::string type = response->Attr(buzz::QN_TYPE); 128 response->FirstNamed(QName(buzz::NS_CLIENT, kErrorTag)); 152 LOG(ERROR) << "Received error in response to heartbeat: " 153 << response->Str(); 167 response->FirstNamed(QName(kChromotingXmlNamespace, kHeartbeatResultTag)); 123 ProcessResponse(IqRequest* request, const XmlElement* response) argument
|
/external/chromium_org/remoting/host/setup/ |
H A D | me2me_native_messaging_host_unittest.cc | 33 void VerifyHelloResponse(scoped_ptr<base::DictionaryValue> response) { argument 34 ASSERT_TRUE(response); 36 EXPECT_TRUE(response->GetString("type", &value)); 38 EXPECT_TRUE(response->GetString("version", &value)); 42 void VerifyGetHostNameResponse(scoped_ptr<base::DictionaryValue> response) { argument 43 ASSERT_TRUE(response); 45 EXPECT_TRUE(response->GetString("type", &value)); 47 EXPECT_TRUE(response->GetString("hostname", &value)); 51 void VerifyGetPinHashResponse(scoped_ptr<base::DictionaryValue> response) { argument 52 ASSERT_TRUE(response); 60 VerifyGenerateKeyPairResponse(scoped_ptr<base::DictionaryValue> response) argument 69 VerifyGetDaemonConfigResponse(scoped_ptr<base::DictionaryValue> response) argument 79 VerifyGetUsageStatsConsentResponse( scoped_ptr<base::DictionaryValue> response) argument 94 VerifyStopDaemonResponse(scoped_ptr<base::DictionaryValue> response) argument 103 VerifyGetDaemonStateResponse(scoped_ptr<base::DictionaryValue> response) argument 112 VerifyUpdateDaemonConfigResponse( scoped_ptr<base::DictionaryValue> response) argument 122 VerifyStartDaemonResponse(scoped_ptr<base::DictionaryValue> response) argument 378 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 433 scoped_ptr<base::DictionaryValue> response = local 513 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 537 scoped_ptr<base::DictionaryValue> response = local [all...] |
/external/chromium_org/remoting/host/win/ |
H A D | launch_process_with_token.cc | 253 // Receives the response to a remote process create request. 265 CreateProcessResponse response; local 266 if (!ReadFile(pipe, &response, sizeof(response), &bytes, NULL)) { 267 PLOG(ERROR) << "Failed to receive CreateProcessAsUser response"; 273 if (bytes != sizeof(response)) { 278 if (!response.success) { 279 SetLastError(response.last_error); 283 *process_information_out = response.process_information;
|
/external/chromium_org/remoting/protocol/ |
H A D | connection_to_host.cc | 163 SessionManager::IncomingSessionResponse* response) { 166 *response = SessionManager::DECLINE; 161 OnIncomingSession( Session* session, SessionManager::IncomingSessionResponse* response) argument
|
/external/chromium_org/rlz/lib/ |
H A D | financial_ping.cc | 236 bool FinancialPing::PingServer(const char* request, std::string* response) { argument 237 if (!response) 240 response->clear(); 271 // Check the response status. 279 // Get the response text. 287 response->append(buffer.get(), bytes_read); 348 return fetcher->GetResponseAsString(response);
|
/external/chromium_org/sync/engine/ |
H A D | commit_util.cc | 410 sync_pb::CommitResponse::ResponseType response = server_entry.response_type(); local 411 if (!sync_pb::CommitResponse::ResponseType_IsValid(response)) { 412 LOG(ERROR) << "Commit response has unknown response type! Possibly out " 416 if (sync_pb::CommitResponse::TRANSIENT_ERROR == response) { 421 if (sync_pb::CommitResponse::INVALID_MESSAGE == response) { 424 return response; 426 if (sync_pb::CommitResponse::CONFLICT == response) { 428 return response; 430 if (sync_pb::CommitResponse::RETRY == response) { [all...] |
H A D | directory_commit_contribution_unittest.cc | 89 sync_pb::CommitResponse::EntryResponse* response) { 90 response->set_response_type(sync_pb::CommitResponse::SUCCESS); 91 response->set_non_unique_name(entity.name()); 92 response->set_version(entity.version() + 1); 93 response->set_parent_id_string(entity.parent_id_string()); 96 response->set_id_string(id_factory_.NewServerId().GetServerId()); 98 response->set_id_string(entity.id_string()); 361 // specially crafted response to the syncer in order to test commit response 362 // processing. The response simulate 87 CreateSuccessfulCommitResponse( const sync_pb::SyncEntity& entity, sync_pb::CommitResponse::EntryResponse* response) argument 388 sync_pb::ClientToServerResponse response; local 472 sync_pb::ClientToServerResponse response; local [all...] |
H A D | get_updates_processor_unittest.cc | 60 void InitFakeUpdateResponse(sync_pb::GetUpdatesResponse* response) { argument 65 response->add_new_progress_marker(); 68 sync_pb::DataTypeContext* context = response->add_context_mutations(); 74 response->set_changes_remaining(0); 329 // Verify that a bogus response message is detected.
|
H A D | syncer_proto_util.cc | 43 // Time to backoff syncing after receiving a throttled response. 46 void LogResponseProfilingData(const ClientToServerResponse& response) { argument 47 if (response.has_profiling_data()) { 49 response_trace << "Server response trace:"; 51 if (response.profiling_data().has_user_lookup_time()) { 53 << response.profiling_data().user_lookup_time() << "ms"; 56 if (response.profiling_data().has_meta_data_write_time()) { 58 << response.profiling_data().meta_data_write_time() 62 if (response.profiling_data().has_meta_data_read_time()) { 64 << response 162 GetTypesToMigrate(const ClientToServerResponse& response) argument 205 VerifyResponseBirthday( const ClientToServerResponse& response, syncable::Directory* dir) argument 237 IsSyncDisabledByAdmin( const sync_pb::ClientToServerResponse& response) argument 264 PostAndProcessHeaders(ServerConnectionManager* scm, sessions::SyncSession* session, const ClientToServerMessage& msg, ClientToServerResponse* response) argument 298 GetThrottleDelay( const ClientToServerResponse& response) argument 345 PostClientToServerMessage( ClientToServerMessage* msg, ClientToServerResponse* response, SyncSession* session) argument 548 PersistBagOfChips(syncable::Directory* dir, const sync_pb::ClientToServerResponse& response) argument 580 GetUpdatesResponseString( const sync_pb::GetUpdatesResponse& response) argument 592 ClientToServerResponseDebugString( const ClientToServerResponse& response) argument [all...] |