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

Unified Diff: net/quic/test_tools/mock_quic_dispatcher.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
Index: net/quic/test_tools/mock_quic_dispatcher.h
diff --git a/net/quic/test_tools/mock_quic_dispatcher.h b/net/quic/test_tools/mock_quic_dispatcher.h
deleted file mode 100644
index 494572464cdf1e344baba96d6993acbb0977b104..0000000000000000000000000000000000000000
--- a/net/quic/test_tools/mock_quic_dispatcher.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
-#define NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
-
-#include "net/base/ip_endpoint.h"
-#include "net/quic/crypto/quic_crypto_server_config.h"
-#include "net/quic/quic_config.h"
-#include "net/quic/quic_dispatcher.h"
-#include "net/quic/quic_protocol.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace net {
-namespace test {
-
-class MockQuicDispatcher : public QuicDispatcher {
- public:
- MockQuicDispatcher(const QuicConfig& config,
- const QuicCryptoServerConfig& crypto_config,
- PacketWriterFactory* packet_writer_factory,
- QuicConnectionHelperInterface* helper);
-
- ~MockQuicDispatcher() override;
-
- MOCK_METHOD3(ProcessPacket, void(const IPEndPoint& server_address,
- const IPEndPoint& client_address,
- const QuicEncryptedPacket& packet));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockQuicDispatcher);
-};
-
-} // namespace test
-} // namespace net
-
-#endif // NET_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.cc ('k') | net/quic/test_tools/mock_quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698