Searched defs:response (Results 476 - 500 of 714) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/components/policy/core/common/cloud/
H A Ddevice_management_service_unittest.cc35 // Encoded empty response messages for testing the error code paths.
159 const std::string& response) {
163 fetcher->SetResponseString(response);
182 const std::string& response)
186 response_(response) {}
200 // A parameterized test case for erroneous response situations, they're mostly
417 // Generate the response.
444 // Generate the response.
477 // Generate the response.
634 // Generate a callback with a valid http response, tha
156 SendResponse(net::TestURLFetcher* fetcher, const net::URLRequestStatus request_status, int http_status, const std::string& response) argument
179 FailedRequestParams(DeviceManagementStatus expected_status, net::URLRequestStatus::Status request_status, int http_status, const std::string& response) argument
[all...]
/external/chromium_org/content/browser/devtools/
H A Ddevtools_protocol.cc105 base::DictionaryValue response; local
108 response.SetInteger(kIdParam, id_);
112 response.Set(kErrorParam, error_object);
117 response.Set(kResultParam, result_->DeepCopy());
121 base::JSONWriter::Write(&response, &json_response);
194 scoped_refptr<DevToolsProtocol::Response> response) {
195 SendRawMessage(response->Serialize());
227 scoped_refptr<Response> response = local
229 *error_response = response->Serialize();
283 scoped_refptr<Response> response local
193 SendAsyncResponse( scoped_refptr<DevToolsProtocol::Response> response) argument
[all...]
/external/chromium_org/content/browser/loader/
H A Dasync_resource_handler.cc147 ResourceResponse* response,
158 new_url, request(), info->GetContext(), response);
161 DevToolsNetLogObserver::PopulateResponseInfo(request(), response); local
162 response->head.request_start = request()->creation_time();
163 response->head.response_start = TimeTicks::Now();
165 request_id, new_url, response->head));
169 ResourceResponse* response,
183 request(), info->GetContext(), response, info->filter()); local
186 DevToolsNetLogObserver::PopulateResponseInfo(request(), response); local
200 response
145 OnRequestRedirected(int request_id, const GURL& new_url, ResourceResponse* response, bool* defer) argument
168 OnResponseStarted(int request_id, ResourceResponse* response, bool* defer) argument
[all...]
H A Dresource_loader.cc41 ResourceResponse* response) {
42 response->head.error_code = request->status().error();
43 response->head.request_time = request->request_time();
44 response->head.response_time = request->response_time();
45 response->head.headers = request->response_headers();
46 request->GetCharset(&response->head.charset);
47 response->head.content_length = request->GetExpectedContentSize();
48 request->GetMimeType(&response->head.mime_type);
50 response->head.was_fetched_via_spdy = response_info.was_fetched_via_spdy;
51 response
40 PopulateResourceResponse(net::URLRequest* request, ResourceResponse* response) argument
[all...]
/external/chromium_org/content/child/npapi/
H A Dplugin_url_fetcher.cc29 // we receive HTTP status code 206 in the HTTP response. This indicates
30 // that the response could have multiple parts each separated by a boundary
31 // specified in the response header.
43 const blink::WebURLResponse& response) OVERRIDE {
46 response, &byte_range_lower_bound_, &byte_range_upper_bound,
219 blink::WebURLResponse response; local
220 response.initialize();
221 webkit_glue::WebURLLoaderImpl::PopulateURLResponse(url_, info, &response);
225 response, &multipart_boundary)) {
232 multi_part_response_client, NULL, response, multipart_boundar
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_webplugin_impl.cc203 const blink::WebURLResponse& response) {
205 instance_->HandleDocumentLoad(response);
202 didReceiveResponse( const blink::WebURLResponse& response) argument
/external/chromium_org/google_apis/drive/
H A Ddrive_api_requests_unittest.cc113 // This is a path to the file which contains expected response from
117 // This is a path string in the expected response header from the server
121 // This is a path to the file which contains expected response for
122 // PRECONDITION_FAILED response.
125 // These are content and its type in the expected response from the server.
144 // response meaning "success".
156 // Return the response with just "204 No Content" status code.
177 // Return the response from the data file.
195 scoped_ptr<net::test_server::BasicHttpResponse> response(
197 response
318 scoped_ptr<net::test_server::BasicHttpResponse> response = local
951 UploadRangeResponse response; local
1042 UploadRangeResponse response; local
1134 UploadRangeResponse response; local
1176 UploadRangeResponse response; local
1305 UploadRangeResponse response; local
1392 UploadRangeResponse response; local
1531 UploadRangeResponse response; local
[all...]
/external/chromium_org/google_apis/gaia/
H A Dgaia_auth_fetcher_unittest.cc340 std::string response = local
343 EXPECT_TRUE(GaiaAuthFetcher::IsSecondFactorSuccess(response));
347 std::string response = "Error=BadAuthentication\n"; local
348 EXPECT_FALSE(GaiaAuthFetcher::IsSecondFactorSuccess(response));
352 std::string response = base::StringPrintf("Error=BadAuthentication\n%s\n", local
365 client_login_source_, status, net::HTTP_FORBIDDEN, cookies_, response,
H A Doauth2_mint_token_flow.cc69 DictionaryValue* response; local
70 if (!value.get() || !value->GetAsDictionary(&response)) {
73 "Not able to parse a JSON object from a service response. "
74 "HTTP Status of the response is: %d", source->GetResponseCode()));
77 if (!response->GetDictionary(kError, &error)) {
79 "Not able to find a detailed error in a service response.");
183 "Not able to parse a JSON object from a service response."));
190 "Not able to find an issueAdvice in a service response."));
200 "from a service response."));
209 "from a service response
[all...]
/external/chromium_org/media/base/android/
H A Dmedia_drm_bridge.cc257 const uint8* response,
262 base::android::ToJavaByteArray(env, response, response_length);
256 UpdateSession(uint32 session_id, const uint8* response, int response_length) argument
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfake_pepper_interface_url_loader.cc62 response(0),
67 if (response != 0)
68 manager->Release(response);
76 PP_Resource response; member in class:__anon9139::FakeURLLoaderResource
120 FakeURLResponseInfoResource* response,
128 response->headers += ss.str();
133 FakeURLResponseInfoResource* response,
156 response->status_code = 416; // Request range not satisfiable.
175 // Also add a "Content-Range" response header.
178 response
119 HandleContentLength(FakeURLLoaderResource* loader, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument
131 HandlePartial(FakeURLLoaderResource* loader, FakeURLRequestInfoResource* request, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument
471 GetProperty( PP_Resource response, PP_URLResponseProperty property) argument
[all...]
/external/chromium_org/net/http/
H A Dhttp_pipelined_connection_impl.h103 HttpResponseInfo* response,
138 // Attempts to drain the response body for |stream| so that the pipeline may
180 HttpResponseInfo* response; member in struct:net::HttpPipelinedConnectionImpl::PendingSendRequest
225 // response to OnSendIOCallback for an asynchronous request.
243 // after a succesful response.
259 // directly after DoReadNextHeaders() if the response is already available.
260 // Otherwise, it is called in response to OnReadIOCallback().
267 // DoReadNextHeaders() in a new task to start the next response. This is
276 // Determines if the response headers indicate pipelining will work. This is
283 // Posts a task to fire the user's callback in response t
[all...]
H A Dhttp_pipelined_connection_impl_unittest.cc164 HttpResponseInfo response; local
165 EXPECT_EQ(OK, stream->SendRequest(headers, &response,
241 HttpResponseInfo response; local
242 EXPECT_EQ(ERR_IO_PENDING, stream->SendRequest(headers, &response,
547 HttpResponseInfo response; local
548 EXPECT_EQ(ERR_IO_PENDING, stream->SendRequest(headers, &response,
587 HttpResponseInfo response; local
590 failed_stream->SendRequest(headers, &response,
594 evicted_stream->SendRequest(headers, &response,
596 EXPECT_EQ(ERR_IO_PENDING, closed_stream->SendRequest(headers, &response,
640 HttpResponseInfo response; local
695 HttpResponseInfo response; local
723 HttpResponseInfo response; local
761 HttpResponseInfo response; local
803 HttpResponseInfo response; local
850 HttpResponseInfo response; local
894 HttpResponseInfo response; local
930 HttpResponseInfo response; local
964 HttpResponseInfo response; local
1022 HttpResponseInfo response; local
1041 HttpResponseInfo response; local
1066 HttpResponseInfo response; local
1096 HttpResponseInfo response; local
1123 HttpResponseInfo response; local
1153 HttpResponseInfo response; local
1215 HttpResponseInfo response; local
1396 HttpResponseInfo response; local
1443 HttpResponseInfo response; local
1463 HttpResponseInfo response; local
1566 HttpResponseInfo response; local
[all...]
H A Dhttp_proxy_client_socket_pool_unittest.cc707 // Expect ProxyClientSocket to return the proxy's response, sanitized.
714 const HttpResponseInfo* response = tunnel_socket->GetConnectResponseInfo(); local
715 const HttpResponseHeaders* headers = response->headers.get();
H A Dhttp_stream_parser_unittest.cc210 // The size of the response body, as reflected in the Content-Length of the
304 // Attempt to read the response status and the response headers.
313 // Finally, attempt to read the response body.
432 // Confirm that on 101 response, the headers are parsed but the data that
580 // Test that HTTP/0.9 response size is correctly calculated.
582 std::string response = "hello\r\nworld\r\n"; local
585 get_runner.AddRead(response);
589 int response_size = response.size();
596 // and the entire response i
601 std::string response = headers + body; local
622 std::string response = headers + body; local
685 std::string response = headers + body; local
711 std::string response = remaining_headers + body; local
729 std::string response = "HTTP/1.1 200 OK\\r\\n" local
758 std::string response = headers + body; local
787 std::string response = headers + body; local
[all...]
/external/chromium_org/net/quic/
H A Dquic_http_stream.cc98 HttpResponseInfo* response,
104 CHECK(response);
130 // Store the response info.
131 response_info_ = response;
155 // Check if we already have the response headers. If so, return synchronously.
159 // Still waiting for the response, return IO_PENDING.
284 // Are we still reading the response headers.
540 // Put the peer's IP address and port into the response.
97 SendRequest(const HttpRequestHeaders& request_headers, HttpResponseInfo* response, const CompletionCallback& callback) argument
/external/chromium_org/net/server/
H A Dhttp_server.cc51 const HttpServerResponseInfo& response) {
55 connection->Send(response);
62 HttpServerResponseInfo response(status_code);
63 response.SetBody(data, content_type);
64 SendResponse(connection_id, response);
50 SendResponse(int connection_id, const HttpServerResponseInfo& response) argument
/external/chromium_org/net/socket/
H A Dsocks_client_socket.cc396 const SOCKS4ServerResponse* response = local
399 if (response->reserved_null != 0x00) {
400 LOG(ERROR) << "Unknown response from SOCKS server.";
404 switch (response->code) {
420 LOG(ERROR) << "SOCKS server sent unknown response";
/external/chromium_org/net/spdy/
H A Dspdy_http_stream.cc111 // Check if we already have the response headers. If so, return synchronously.
117 // Still waiting for the response, return IO_PENDING.
210 HttpResponseInfo* response,
225 // so we set the response's request time to be the actual one
239 CHECK(response);
245 // b) A client request which matches a response that the server has already
248 *response = *(push_response_info_.get());
254 response_info_ = response;
256 // Put the peer's IP address and port into the response.
267 // response i
209 SendRequest(const HttpRequestHeaders& request_headers, HttpResponseInfo* response, const CompletionCallback& callback) argument
[all...]
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/
H A DTestWebServer.java182 * This only gets the URL, you still need to set the response if you intend to access it.
192 * Sets a response to be returned when a particular request path is passed
196 * @param responseString The response body that will be returned.
198 * response (null is acceptable).
200 * response.
210 * Sets a response to be returned when a particular request path is passed
215 * @param responseString The response body that will be returned.
217 * response (null is acceptable).
218 * @param responseAction The action to be performed when fetching the response. This action
222 * response
411 setDateHeaders(HttpResponse response) argument
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_basic_handshake_stream.cc129 HttpResponseInfo* response,
140 http_response_info_ = response;
166 state_.GenerateRequestLine(), enriched_headers, response, callback);
127 SendRequest( const HttpRequestHeaders& headers, HttpResponseInfo* response, const CompletionCallback& callback) argument
/external/chromium_org/remoting/client/jni/
H A Dchromoting_jni_instance.cc224 const protocol::PairingResponse& response) {
230 host_id_, response.client_id(), response.shared_secret()));
223 SetPairingResponse( const protocol::PairingResponse& response) argument
/external/chromium_org/remoting/host/it2me/
H A Dit2me_native_messaging_host_unittest.cc30 void VerifyId(scoped_ptr<base::DictionaryValue> response, int expected_value) { argument
31 ASSERT_TRUE(response);
34 EXPECT_TRUE(response->GetInteger("id", &value));
38 void VerifyStringProperty(scoped_ptr<base::DictionaryValue> response, argument
41 ASSERT_TRUE(response);
44 EXPECT_TRUE(response->GetString(name, &value));
49 void VerifyCommonProperties(scoped_ptr<base::DictionaryValue> response, argument
52 ASSERT_TRUE(response);
55 EXPECT_TRUE(response->GetString("type", &string_value));
59 EXPECT_TRUE(response
249 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
299 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
304 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
317 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
374 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
419 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
515 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
[all...]
/external/chromium_org/remoting/protocol/
H A Djingle_session.cc37 // How long we should wait for a response from the other end. This value is used
333 const buzz::XmlElement* response) {
340 // |response| will be NULL if the request timed out.
341 if (!response) {
347 response->Attr(buzz::QName(std::string(), "type"));
349 LOG(ERROR) << "Received error in response to " << type_str
350 << " message: \"" << response->Str()
362 // here. Parse the response stanza to find failure reason.
386 const buzz::XmlElement* response) {
402 if (!response) {
330 OnMessageResponse( JingleMessage::ActionType request_type, IqRequest* request, const buzz::XmlElement* response) argument
385 OnTransportInfoResponse(IqRequest* request, const buzz::XmlElement* response) argument
[all...]
/external/chromium_org/rlz/lib/
H A Drlz_lib.cc21 // Event information returned from ping response.
376 bool PingFinancialServer(Product product, const char* request, char* response, argument
378 if (!response || response_buffer_size == 0)
380 response[0] = 0;
394 strncpy(response, response_string.c_str(), response_buffer_size);
395 response[response_buffer_size - 1] = 0;
399 bool IsPingResponseValid(const char* response, int* checksum_idx) { argument
400 if (!response || !response[0])
406 if (strlen(response) > kMaxPingResponseLengt
451 ParseFinancialPingResponse(Product product, const char* response) argument
488 std::string response; local
498 ParsePingResponse(Product product, const char* response) argument
[all...]

Completed in 414 milliseconds

<<11121314151617181920>>