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

Unified Diff: net/tools/quic/test_tools/quic_dispatcher_peer.cc

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/tools/quic/test_tools/quic_dispatcher_peer.cc
diff --git a/net/tools/quic/test_tools/quic_dispatcher_peer.cc b/net/tools/quic/test_tools/quic_dispatcher_peer.cc
deleted file mode 100644
index 190042031fd8881bba26854b48934c03e550404e..0000000000000000000000000000000000000000
--- a/net/tools/quic/test_tools/quic_dispatcher_peer.cc
+++ /dev/null
@@ -1,65 +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.
-
-#include "net/tools/quic/test_tools/quic_dispatcher_peer.h"
-
-#include "net/tools/quic/quic_dispatcher.h"
-#include "net/tools/quic/quic_packet_writer_wrapper.h"
-
-namespace net {
-namespace tools {
-namespace test {
-
-// static
-void QuicDispatcherPeer::SetTimeWaitListManager(
- QuicDispatcher* dispatcher,
- QuicTimeWaitListManager* time_wait_list_manager) {
- dispatcher->time_wait_list_manager_.reset(time_wait_list_manager);
-}
-
-// static
-void QuicDispatcherPeer::UseWriter(QuicDispatcher* dispatcher,
- QuicPacketWriterWrapper* writer) {
- writer->set_writer(dispatcher->writer_.release());
- dispatcher->writer_.reset(writer);
-}
-
-// static
-QuicPacketWriter* QuicDispatcherPeer::GetWriter(QuicDispatcher* dispatcher) {
- return dispatcher->writer_.get();
-}
-
-// static
-void QuicDispatcherPeer::SetPacketWriterFactory(
- QuicDispatcher* dispatcher,
- QuicDispatcher::PacketWriterFactory* packet_writer_factory) {
- dispatcher->packet_writer_factory_.reset(packet_writer_factory);
-}
-
-// static
-QuicEpollConnectionHelper* QuicDispatcherPeer::GetHelper(
- QuicDispatcher* dispatcher) {
- return dispatcher->helper_.get();
-}
-
-// static
-QuicConnection* QuicDispatcherPeer::CreateQuicConnection(
- QuicDispatcher* dispatcher,
- QuicConnectionId connection_id,
- const IPEndPoint& server,
- const IPEndPoint& client) {
- return dispatcher->CreateQuicConnection(connection_id,
- server,
- client);
-}
-
-// static
-QuicDispatcher::WriteBlockedList* QuicDispatcherPeer::GetWriteBlockedList(
- QuicDispatcher* dispatcher) {
- return &dispatcher->write_blocked_list_;
-}
-
-} // namespace test
-} // namespace tools
-} // namespace net
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | net/tools/quic/test_tools/quic_in_memory_cache_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698