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

Unified Diff: net/tools/quic/quic_simple_server_stream_test.cc

Issue 1977153002: Rename various MockConnectionFoo classes to MockQuicConnectionFoo. No behavior change. This is cons… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121576119
Patch Set: Created 4 years, 7 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/tools/quic/quic_simple_server_session_test.cc ('k') | net/tools/quic/quic_simple_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_server_stream_test.cc
diff --git a/net/tools/quic/quic_simple_server_stream_test.cc b/net/tools/quic/quic_simple_server_stream_test.cc
index a9b7b46811af645761f7a5ed5a94898603ce6e4c..af6f9915b1dc68a9ae02afe7168b7b85cbb1211a 100644
--- a/net/tools/quic/quic_simple_server_stream_test.cc
+++ b/net/tools/quic/quic_simple_server_stream_test.cc
@@ -25,8 +25,8 @@
#include "url/gurl.h"
using base::StringPiece;
-using net::test::MockConnection;
-using net::test::MockConnectionHelper;
+using net::test::MockQuicConnection;
+using net::test::MockQuicConnectionHelper;
using net::test::MockQuicSpdySession;
using net::test::ReliableQuicStreamPeer;
using net::test::SupportedVersions;
@@ -149,10 +149,10 @@ class QuicSimpleServerStreamTest
public:
QuicSimpleServerStreamTest()
: connection_(
- new StrictMock<MockConnection>(&helper_,
- &alarm_factory_,
- Perspective::IS_SERVER,
- SupportedVersions(GetParam()))),
+ new StrictMock<MockQuicConnection>(&helper_,
+ &alarm_factory_,
+ Perspective::IS_SERVER,
+ SupportedVersions(GetParam()))),
session_owner_(new StrictMock<MockQuicServerSessionVisitor>()),
crypto_config_(new QuicCryptoServerConfig(
QuicCryptoServerConfig::TESTING,
@@ -204,9 +204,9 @@ class QuicSimpleServerStreamTest
}
SpdyHeaderBlock response_headers_;
- MockConnectionHelper helper_;
+ MockQuicConnectionHelper helper_;
MockAlarmFactory alarm_factory_;
- StrictMock<MockConnection>* connection_;
+ StrictMock<MockQuicConnection>* connection_;
StrictMock<MockQuicServerSessionVisitor>* session_owner_;
std::unique_ptr<QuicCryptoServerConfig> crypto_config_;
QuicCompressedCertsCache compressed_certs_cache_;
« no previous file with comments | « net/tools/quic/quic_simple_server_session_test.cc ('k') | net/tools/quic/quic_simple_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698