Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Unified Diff: net/socket/client_socket_pool_manager.h

Issue 7024017: Fix --host-rules command switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/create/Create/ Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/socket/client_socket_pool_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_pool_manager.h
diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h
index 74118d88e56bd5bf6ee2155c3f6e881e200bc02a..9d42672e41f45af2665cd99240b9b5285c55bdfd 100644
--- a/net/socket/client_socket_pool_manager.h
+++ b/net/socket/client_socket_pool_manager.h
@@ -20,8 +20,10 @@
#include "net/base/cert_database.h"
#include "net/base/completion_callback.h"
#include "net/base/net_api.h"
+#include "net/base/request_priority.h"
#include "net/socket/client_socket_pool_histograms.h"
+class GURL;
class Value;
namespace net {
@@ -34,6 +36,7 @@ class ClientSocketPoolHistograms;
class DnsCertProvenanceChecker;
class DnsRRResolver;
class HttpNetworkSession;
+class HttpRequestHeaders;
class HostPortPair;
class HttpProxyClientSocketPool;
class HostResolver;
@@ -46,7 +49,6 @@ class SSLConfigService;
class SSLHostInfoFactory;
class TransportClientSocketPool;
-struct HttpRequestInfo;
struct SSLConfig;
namespace internal {
@@ -108,7 +110,11 @@ class ClientSocketPoolManager : public base::NonThreadSafe,
// HTTP/HTTPS requests. |ssl_config_for_origin| is only used if the request
// uses SSL and |ssl_config_for_proxy| is used if the proxy server is HTTPS.
static int InitSocketHandleForHttpRequest(
- const HttpRequestInfo& request_info,
+ const GURL& request_url,
+ const GURL& request_referrer,
+ const HttpRequestHeaders& request_extra_headers,
+ int request_load_flags,
+ RequestPriority request_priority,
HttpNetworkSession* session,
const ProxyInfo& proxy_info,
bool force_spdy_over_ssl,
@@ -136,7 +142,11 @@ class ClientSocketPoolManager : public base::NonThreadSafe,
// Similar to InitSocketHandleForHttpRequest except that it initiates the
// desired number of preconnect streams from the relevant socket pool.
static int PreconnectSocketsForHttpRequest(
- const HttpRequestInfo& request_info,
+ const GURL& request_url,
+ const GURL& request_referrer,
+ const HttpRequestHeaders& request_extra_headers,
+ int request_load_flags,
+ RequestPriority request_priority,
HttpNetworkSession* session,
const ProxyInfo& proxy_info,
bool force_spdy_over_ssl,
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/socket/client_socket_pool_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698