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

Unified Diff: net/spdy/spdy_http_stream_spdy3_unittest.cc

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years 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_http_stream_spdy3_unittest.cc
diff --git a/net/spdy/spdy_http_stream_spdy3_unittest.cc b/net/spdy/spdy_http_stream_spdy3_unittest.cc
index 46a18163ad147088bf7ec80bc5b5c553452b9586..49e4791103b03ab047cebdf23284d1fbb6c3d6d4 100644
--- a/net/spdy/spdy_http_stream_spdy3_unittest.cc
+++ b/net/spdy/spdy_http_stream_spdy3_unittest.cc
@@ -29,15 +29,9 @@ namespace net {
class SpdyHttpStreamSpdy3Test : public testing::Test {
public:
OrderedSocketData* data() { return data_.get(); }
- protected:
- SpdyHttpStreamSpdy3Test() {}
-
- virtual void SetUp() {
- SpdySession::set_default_protocol(kProtoSPDY3);
- }
+ protected:
virtual void TearDown() {
- crypto::ECSignatureCreator::SetFactoryForTesting(NULL);
UploadDataStream::ResetMergeChunks();
MessageLoop::current()->RunUntilIdle();
}
@@ -84,7 +78,7 @@ class SpdyHttpStreamSpdy3Test : public testing::Test {
scoped_refptr<TransportSocketParams> transport_params_;
private:
- SpdyTestStateHelper spdy_state_;
+ MockECSignatureCreatorFactory ec_signature_creator_factory_;
};
TEST_F(SpdyHttpStreamSpdy3Test, SendRequest) {

Powered by Google App Engine
This is Rietveld 408576698