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

Unified Diff: net/http/http_stream_factory.h

Issue 2140733002: Remove HttpStreamFactory::spdy_enabled_ static member and accessors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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_network_session.cc ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.h
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index b3afa2ac17f186c05acee4c8c9c9049f89306d42..fe818226212c8c7db8755297e628e3e6ea0f662f 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -243,25 +243,10 @@ class NET_EXPORT HttpStreamFactory {
virtual const HostMappingRules* GetHostMappingRules() const = 0;
- // Static settings
-
- // Reset all static settings to initialized values. Used to init test suite.
- static void ResetStaticSettingsToInit();
-
- // Turns spdy on or off.
- // TODO(mmenke): Figure out if this can be made a property of the
- // HttpNetworkSession.
- static void set_spdy_enabled(bool value) {
- spdy_enabled_ = value;
- }
- static bool spdy_enabled() { return spdy_enabled_; }
-
protected:
HttpStreamFactory();
private:
- static bool spdy_enabled_;
-
url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server);
DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698