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

Unified Diff: net/http/http_network_session.h

Issue 10834215: Remove static variables from HttpStreamFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 3a9d72cc5fcf1498eaffde9acadae305ffe5c235..6ee83d075738bb8444806b71ddab9fa337d2fb5a 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -62,6 +62,11 @@ class NET_EXPORT HttpNetworkSession
HttpServerProperties* http_server_properties;
NetLog* net_log;
bool force_http_pipelining;
+ bool ignore_certificate_errors;
+ HostMappingRules* host_mapping_rules;
mmenke 2012/08/23 18:11:28 nit: Please put the HostMappingRules up with the
+ bool http_pipelining_enabled;
+ uint16 testing_fixed_http_port;
+ uint16 testing_fixed_https_port;
std::string trusted_spdy_proxy;
};
@@ -130,6 +135,10 @@ class NET_EXPORT HttpNetworkSession
// Returns the original Params used to construct this session.
const Params& params() const { return params_; }
+ void set_http_pipelining_enabled(bool enable) {
+ params_.http_pipelining_enabled = enable;
+ }
+
private:
friend class base::RefCounted<HttpNetworkSession>;
friend class HttpNetworkSessionPeer;

Powered by Google App Engine
This is Rietveld 408576698