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

Unified Diff: net/tools/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
« no previous file with comments | « net/tools/quic/test_tools/mock_epoll_server.cc ('k') | net/tools/quic/test_tools/mock_quic_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/mock_quic_dispatcher.h
diff --git a/net/tools/quic/test_tools/mock_quic_dispatcher.h b/net/tools/quic/test_tools/mock_quic_dispatcher.h
deleted file mode 100644
index 81f100470cea4c9a6c65bca44b0602fc4f809cc2..0000000000000000000000000000000000000000
--- a/net/tools/quic/test_tools/mock_quic_dispatcher.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 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_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
-#define NET_TOOLS_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_protocol.h"
-#include "net/tools/epoll_server/epoll_server.h"
-#include "net/tools/quic/quic_dispatcher.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace net {
-namespace tools {
-namespace test {
-
-class MockQuicDispatcher : public QuicDispatcher {
- public:
- MockQuicDispatcher(const QuicConfig& config,
- const QuicCryptoServerConfig& crypto_config,
- PacketWriterFactory* packet_writer_factory,
- EpollServer* eps);
-
- ~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 tools
-} // namespace net
-
-#endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_DISPATCHER_H_
« no previous file with comments | « net/tools/quic/test_tools/mock_epoll_server.cc ('k') | net/tools/quic/test_tools/mock_quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698