Home
last modified time | relevance | path

Searched refs:response_head (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/content/child/
Dresource_dispatcher_unittest.cc249 ResourceResponseHead response_head; in InitMessages() local
250 response_head.error_code = net::OK; in InitMessages()
253 ResourceMsg_ReceivedResponse(0, response_head)); in InitMessages()
351 void PerformTest(const ResourceResponseHead& response_head) { in PerformTest() argument
356 ResourceMsg_ReceivedResponse(0, response_head)); in PerformTest()
398 ResourceResponseHead response_head; in TEST_F() local
399 response_head.error_code = net::OK; in TEST_F()
400 response_head.request_start = base::TimeTicks::FromInternalValue(5); in TEST_F()
401 response_head.response_start = base::TimeTicks::FromInternalValue(15); in TEST_F()
402 response_head.load_timing.request_start_time = base::Time::Now(); in TEST_F()
[all …]
Dresource_dispatcher.cc345 int request_id, const ResourceResponseHead& response_head) { in OnReceivedResponse() argument
355 request_info->peer, response_head.mime_type, request_info->url); in OnReceivedResponse()
361 ToResourceResponseInfo(*request_info, response_head, &renderer_response_info); in OnReceivedResponse()
478 const ResourceResponseHead& response_head) { in OnReceivedRedirect() argument
488 ToResourceResponseInfo(*request_info, response_head, &renderer_response_info); in OnReceivedRedirect()
Dresource_dispatcher.h136 const ResourceResponseHead& response_head);
/external/chromium/chrome/browser/prerender/
Dprerender_resource_handler_unittest.cc129 response->response_head.mime_type = mime_type; in StartPrerendering()
130 response->response_head.headers = CreateResponseHeaders(headers); in StartPrerendering()
188 response->response_head.mime_type = "text/html"; in TEST_F()
189 response->response_head.headers = CreateResponseHeaders( in TEST_F()
Dprerender_resource_handler.cc40 const ResourceResponseHead& rrh = response->response_head; in ShouldPrerender()
/external/chromium/chrome/browser/renderer_host/
Ddownload_resource_handler.cc74 set_content_length(response->response_head.content_length); in OnResponseStarted()
95 info->mime_type = response->response_head.mime_type; in OnResponseStarted()
100 if (!response->response_head.headers || in OnResponseStarted()
101 !response->response_head.headers->GetMimeType(&content_type_header)) in OnResponseStarted()
/external/chromium_org/content/browser/loader/
Dresource_dispatcher_host_unittest.cc58 ResourceResponseHead* response_head) { in GetResponseHead() argument
67 ASSERT_TRUE(IPC::ReadParam(&messages[0], &iter, response_head)); in GetResponseHead()
1812 ResourceResponseHead response_head; in TEST_F() local
1813 GetResponseHead(msgs[0], &response_head); in TEST_F()
1814 ASSERT_EQ("text/html", response_head.mime_type); in TEST_F()
1835 ResourceResponseHead response_head; in TEST_F() local
1836 GetResponseHead(msgs[0], &response_head); in TEST_F()
1837 ASSERT_EQ("image/jpeg", response_head.mime_type); in TEST_F()
1855 ResourceResponseHead response_head; in TEST_F() local
1856 GetResponseHead(msgs[0], &response_head); in TEST_F()
[all …]
/external/chromium/chrome/browser/net/
Dload_timing_observer.cc117 response->response_head.connection_id = record->socket_log_id; in PopulateTimingInfo()
118 response->response_head.connection_reused = record->socket_reused; in PopulateTimingInfo()
119 response->response_head.load_timing = record->timing; in PopulateTimingInfo()
/external/chromium/chrome/browser/debugger/
Ddevtools_netlog_observer.cc250 response->response_head.devtools_info = in PopulateResponseInfo()