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

Unified Diff: net/spdy/spdy_test_util_spdy2.h

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar cleanup Created 8 years, 1 month 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/spdy/spdy_test_util_spdy2.h
diff --git a/net/spdy/spdy_test_util_spdy2.h b/net/spdy/spdy_test_util_spdy2.h
index 58b228dc21687a0fdc78c9594c6b52274ed6f1d9..5a7cd742b0fff1a83b16fab628df2aa9d73f8ce2 100644
--- a/net/spdy/spdy_test_util_spdy2.h
+++ b/net/spdy/spdy_test_util_spdy2.h
@@ -19,6 +19,7 @@
#include "net/http/http_transaction_factory.h"
#include "net/proxy/proxy_service.h"
#include "net/socket/socket_test_util.h"
+#include "net/spdy/spdy_session.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_storage.h"
@@ -365,6 +366,10 @@ class SpdySessionDependencies {
scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory;
scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory;
HttpServerPropertiesImpl http_server_properties;
+ bool enable_ip_pooling;
+ bool enable_compression;
+ bool enable_ping;
+ SpdySession::TimeFunc time_func;
std::string trusted_spdy_proxy;
NetLog* net_log;
};
@@ -414,16 +419,6 @@ class SpdySessionPoolPeer {
DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer);
};
-// Helper to manage the state of a number of SPDY global variables.
-class SpdyTestStateHelper {
- public:
- SpdyTestStateHelper();
- ~SpdyTestStateHelper();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SpdyTestStateHelper);
-};
-
} // namespace test_spdy2
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698