/external/chromium/net/http/ |
D | http_vary_data.cc | 21 bool HttpVaryData::Init(const HttpRequestInfo& request_info, in Init() argument 40 AddField(request_info, request_header, &ctx); in Init() 56 AddField(request_info, "cookie", &ctx); in Init() 83 const HttpRequestInfo& request_info, in MatchesRequest() argument 86 if (!new_vary_data.Init(request_info, cached_response_headers)) { in MatchesRequest() 98 const HttpRequestInfo& request_info, in GetRequestValue() argument 102 return request_info.referrer.spec(); in GetRequestValue() 109 if (request_info.extra_headers.GetHeader(request_header, &result)) in GetRequestValue() 116 void HttpVaryData::AddField(const HttpRequestInfo& request_info, in AddField() argument 119 std::string request_value = GetRequestValue(request_info, request_header); in AddField()
|
D | http_stream_factory_impl.cc | 53 const HttpRequestInfo& request_info, in RequestStream() argument 57 Request* request = new Request(request_info.url, this, delegate, net_log); in RequestStream() 61 GetAlternateProtocolRequestFor(request_info.url, &alternate_url); in RequestStream() 64 HttpRequestInfo alternate_request_info = request_info; in RequestStream() 69 alternate_job->MarkAsAlternate(request_info.url); in RequestStream() 72 Job* job = new Job(this, session_, request_info, ssl_config, net_log); in RequestStream() 90 const HttpRequestInfo& request_info, in PreconnectStreams() argument 95 GetAlternateProtocolRequestFor(request_info.url, &alternate_url); in PreconnectStreams() 98 HttpRequestInfo alternate_request_info = request_info; in PreconnectStreams() 101 job->MarkAsAlternate(request_info.url); in PreconnectStreams() [all …]
|
D | http_auth_handler_negotiate_unittest.cc | 226 HttpRequestInfo request_info; in TEST_F() local 229 &request_info, in TEST_F() 245 HttpRequestInfo request_info; in TEST_F() local 248 &request_info, in TEST_F() 264 HttpRequestInfo request_info; in TEST_F() local 267 &request_info, in TEST_F() 283 HttpRequestInfo request_info; in TEST_F() local 286 &request_info, in TEST_F() 302 HttpRequestInfo request_info; in TEST_F() local 305 NULL, NULL, &request_info, &callback, &token)); in TEST_F() [all …]
|
D | http_network_layer_unittest.cc | 91 HttpRequestInfo request_info; in TEST_F() local 92 request_info.url = GURL("http://www.google.com/"); in TEST_F() 93 request_info.method = "GET"; in TEST_F() 94 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F() 96 request_info.load_flags = LOAD_NORMAL; in TEST_F() 102 rv = trans->Start(&request_info, &callback, BoundNetLog()); in TEST_F()
|
D | http_vary_data.h | 44 bool Init(const HttpRequestInfo& request_info, 63 bool MatchesRequest(const HttpRequestInfo& request_info, 68 static std::string GetRequestValue(const HttpRequestInfo& request_info, 72 static void AddField(const HttpRequestInfo& request_info,
|
D | http_proxy_utils.cc | 16 const HttpRequestInfo& request_info, in BuildTunnelRequest() argument 27 GetHostAndOptionalPort(request_info.url)); in BuildTunnelRequest() 32 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest()
|
D | http_basic_stream.cc | 30 int HttpBasicStream::InitializeStream(const HttpRequestInfo* request_info, in InitializeStream() argument 34 request_info_ = request_info; in InitializeStream() 35 parser_.reset(new HttpStreamParser(connection_.get(), request_info, in InitializeStream()
|
D | http_auth_handler_basic_unittest.cc | 41 HttpRequestInfo request_info; in TEST() local 43 int rv = basic->GenerateAuthToken(&username, &password, &request_info, in TEST()
|
D | http_proxy_utils.h | 20 void BuildTunnelRequest(const HttpRequestInfo& request_info,
|
D | http_transaction.h | 44 virtual int Start(const HttpRequestInfo* request_info,
|
D | http_stream.h | 40 virtual int InitializeStream(const HttpRequestInfo* request_info,
|
D | http_basic_stream.h | 43 virtual int InitializeStream(const HttpRequestInfo* request_info,
|
/external/chromium/net/socket/ |
D | client_socket_pool_manager.cc | 61 int InitSocketPoolHelper(const HttpRequestInfo& request_info, in InitSocketPoolHelper() argument 78 bool using_ssl = request_info.url.SchemeIs("https") || force_spdy_over_ssl; in InitSocketPoolHelper() 81 HostPortPair(request_info.url.HostNoBrackets(), in InitSocketPoolHelper() 82 request_info.url.EffectiveIntPort()); in InitSocketPoolHelper() 85 request_info.load_flags & LOAD_BYPASS_CACHE || in InitSocketPoolHelper() 86 request_info.load_flags & LOAD_VALIDATE_CACHE || in InitSocketPoolHelper() 87 request_info.load_flags & LOAD_DISABLE_CACHE; in InitSocketPoolHelper() 89 int load_flags = request_info.load_flags; in InitSocketPoolHelper() 100 bool ignore_limits = (request_info.load_flags & LOAD_IGNORE_LIMITS) != 0; in InitSocketPoolHelper() 103 request_info.priority, in InitSocketPoolHelper() [all …]
|
D | client_socket_pool_manager.h | 110 const HttpRequestInfo& request_info, 138 const HttpRequestInfo& request_info,
|
/external/chromium/chrome/browser/net/ |
D | preconnect.cc | 56 net::HttpRequestInfo request_info; in PreconnectOnIOThread() local 57 request_info.url = url; in PreconnectOnIOThread() 58 request_info.method = "GET"; in PreconnectOnIOThread() 59 request_info.extra_headers.SetHeader(net::HttpRequestHeaders::kUserAgent, in PreconnectOnIOThread() 72 request_info.priority = net::HIGHEST; in PreconnectOnIOThread() 78 request_info.motivation = net::HttpRequestInfo::OMNIBOX_MOTIVATED; in PreconnectOnIOThread() 81 request_info.motivation = net::HttpRequestInfo::PRECONNECT_MOTIVATED; in PreconnectOnIOThread() 85 request_info.motivation = net::HttpRequestInfo::EARLY_LOAD_MOTIVATED; in PreconnectOnIOThread() 104 count, request_info, ssl_config, net::BoundNetLog()); in PreconnectOnIOThread()
|
/external/chromium/chrome/browser/automation/ |
D | url_request_automation_job.cc | 102 ResourceDispatcherHostRequestInfo* request_info = NULL; in Factory() local 104 request_info = ResourceDispatcherHost::InfoForRequest(request); in Factory() 105 if (request_info) { in Factory() 106 int child_id = request_info->child_id(); in Factory() 107 int route_id = request_info->route_id(); in Factory() 112 details.tab_handle, request_info->request_id(), details.filter, in Factory() 237 ResourceDispatcherHostRequestInfo* request_info = in GetUploadProgress() local 239 if (request_info) { in GetUploadProgress() 240 return request_info->upload_size(); in GetUploadProgress() 442 ResourceDispatcherHostRequestInfo* request_info = in StartAsync() local [all …]
|
/external/chromium/net/websockets/ |
D | websocket_handshake_handler_unittest.cc | 199 const HttpRequestInfo& request_info = in TEST() local 202 EXPECT_EQ(url, request_info.url); in TEST() 203 EXPECT_EQ("GET", request_info.method); in TEST() 204 EXPECT_FALSE(request_info.extra_headers.HasHeader("Upgrade")); in TEST() 205 EXPECT_FALSE(request_info.extra_headers.HasHeader("Connection")); in TEST() 206 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key1")); in TEST() 207 EXPECT_FALSE(request_info.extra_headers.HasHeader("Sec-WebSocket-Key2")); in TEST() 209 EXPECT_TRUE(request_info.extra_headers.GetHeader("Host", &value)); in TEST() 211 EXPECT_TRUE(request_info.extra_headers.GetHeader("Origin", &value)); in TEST() 213 EXPECT_TRUE(request_info.extra_headers.GetHeader("Sec-WebSocket-Protocol", in TEST()
|
D | websocket_handshake_handler.cc | 191 HttpRequestInfo request_info; in GetRequestInfo() local 192 request_info.url = url; in GetRequestInfo() 197 request_info.method = std::string(status_line_.data(), method_end); in GetRequestInfo() 199 request_info.extra_headers.Clear(); in GetRequestInfo() 200 request_info.extra_headers.AddHeadersFromString(headers_); in GetRequestInfo() 202 request_info.extra_headers.RemoveHeader("Upgrade"); in GetRequestInfo() 203 request_info.extra_headers.RemoveHeader("Connection"); in GetRequestInfo() 207 request_info.extra_headers.GetHeader("Sec-WebSocket-Key1", &key); in GetRequestInfo() 208 request_info.extra_headers.RemoveHeader("Sec-WebSocket-Key1"); in GetRequestInfo() 211 request_info.extra_headers.GetHeader("Sec-WebSocket-Key2", &key); in GetRequestInfo() [all …]
|
/external/chromium/webkit/glue/ |
D | weburlloader_impl.cc | 428 ResourceLoaderBridge::RequestInfo request_info; in Start() local 429 request_info.method = method; in Start() 430 request_info.url = url; in Start() 431 request_info.first_party_for_cookies = request.firstPartyForCookies(); in Start() 432 request_info.referrer = referrer_url; in Start() 433 request_info.frame_origin = frame_origin; in Start() 434 request_info.main_frame_origin = main_frame_origin; in Start() 435 request_info.headers = flattener.GetBuffer(); in Start() 436 request_info.load_flags = load_flags; in Start() 440 request_info.requestor_pid = request.requestorProcessID(); in Start() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | user_script_listener.cc | 37 const ResourceDispatcherHostRequestInfo& request_info, in ShouldDelayRequest() argument 43 if (request_info.resource_type() != ResourceType::MAIN_FRAME && in ShouldDelayRequest() 44 request_info.resource_type() != ResourceType::SUB_FRAME) { in ShouldDelayRequest()
|
D | user_script_listener.h | 43 const ResourceDispatcherHostRequestInfo& request_info,
|
/external/chromium/chrome/browser/tab_contents/ |
D | thumbnail_generator.cc | 230 linked_ptr<AsyncRequestInfo> request_info(new AsyncRequestInfo); in AskForSnapshot() local 231 request_info->callback.reset(callback); in AskForSnapshot() 232 request_info->thumbnail_dib.reset(thumbnail_dib.release()); in AskForSnapshot() 233 request_info->renderer = renderer; in AskForSnapshot() 234 ThumbnailCallbackMap::value_type new_value(sequence_num, request_info); in AskForSnapshot()
|
/external/chromium/net/ftp/ |
D | ftp_network_transaction_unittest.cc | 760 FtpRequestInfo request_info = GetRequestInfo(request); in ExecuteTransaction() local 763 transaction_.Start(&request_info, &callback_, BoundNetLog())); in ExecuteTransaction() 805 FtpRequestInfo request_info = GetRequestInfo("ftp://badhost"); in TEST_F() local 809 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F() 1023 FtpRequestInfo request_info = GetRequestInfo("ftp://host/file"); in TEST_F() local 1027 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F() 1148 FtpRequestInfo request_info = GetRequestInfo("ftp://host/file"); in TEST_F() local 1151 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F() 1179 FtpRequestInfo request_info = GetRequestInfo("ftp://host/file"); in TEST_F() local 1182 transaction_.Start(&request_info, &callback_, BoundNetLog())); in TEST_F()
|
D | ftp_transaction.h | 41 virtual int Start(const FtpRequestInfo* request_info,
|
/external/chromium/chrome/browser/renderer_host/ |
D | download_resource_handler.cc | 76 const ResourceDispatcherHostRequestInfo* request_info = in OnResponseStarted() local 90 info->has_user_gesture = request_info->has_user_gesture(); in OnResponseStarted()
|