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

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

Issue 1433433003: Rename MockHelper to the more descriptive (and more consistent with other Mock classes) MockConnect… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106414015
Patch Set: Created 5 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
« no previous file with comments | « net/tools/quic/quic_client_session_test.cc ('k') | net/tools/quic/quic_server_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher_test.cc
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
index b54ee290412f88d5c392e18c153ac87b59211344..3f9b91b323ad7d28ffc94ef0a64fcdac9ae3a388 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -31,7 +31,7 @@ using net::EpollServer;
using net::test::ConstructEncryptedPacket;
using net::test::CryptoTestUtils;
using net::test::MockConnection;
-using net::test::MockHelper;
+using net::test::MockConnectionHelper;
using net::test::ValueRestore;
using net::test::TestWriterFactory;
using std::string;
@@ -98,7 +98,7 @@ class TestDispatcher : public QuicDispatcher {
class MockServerConnection : public MockConnection {
public:
MockServerConnection(QuicConnectionId connection_id,
- MockHelper* helper,
+ MockConnectionHelper* helper,
QuicDispatcher* dispatcher)
: MockConnection(connection_id, helper, Perspective::IS_SERVER),
dispatcher_(dispatcher) {}
@@ -116,7 +116,7 @@ QuicServerSession* CreateSession(QuicDispatcher* dispatcher,
const QuicConfig& config,
QuicConnectionId connection_id,
const IPEndPoint& client_address,
- MockHelper* helper,
+ MockConnectionHelper* helper,
const QuicCryptoServerConfig* crypto_config,
TestQuicSpdyServerSession** session) {
MockServerConnection* connection =
@@ -203,7 +203,7 @@ class QuicDispatcherTest : public ::testing::Test {
EpollServer eps_;
QuicEpollConnectionHelper helper_;
- MockHelper mock_helper_;
+ MockConnectionHelper mock_helper_;
QuicConfig config_;
QuicCryptoServerConfig crypto_config_;
IPEndPoint server_address_;
@@ -624,7 +624,7 @@ class QuicDispatcherWriteBlockedListTest : public QuicDispatcherTest {
}
protected:
- MockHelper helper_;
+ MockConnectionHelper helper_;
BlockingWriter* writer_;
QuicDispatcher::WriteBlockedList* blocked_list_;
};
« no previous file with comments | « net/tools/quic/quic_client_session_test.cc ('k') | net/tools/quic/quic_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698