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

Unified Diff: net/tools/quic/test_tools/quic_client_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
« no previous file with comments | « net/tools/quic/test_tools/quic_client_peer.h ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_client_peer.cc
diff --git a/net/tools/quic/test_tools/quic_client_peer.cc b/net/tools/quic/test_tools/quic_client_peer.cc
deleted file mode 100644
index 75a20eeadd257865a35a239e297a0599ef01525c..0000000000000000000000000000000000000000
--- a/net/tools/quic/test_tools/quic_client_peer.cc
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 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_client_peer.h"
-
-#include "net/tools/quic/quic_client.h"
-
-namespace net {
-namespace tools {
-namespace test {
-
-// static
-QuicCryptoClientConfig* QuicClientPeer::GetCryptoConfig(QuicClient* client) {
- return &client->crypto_config_;
-}
-
-// static
-bool QuicClientPeer::CreateUDPSocket(QuicClient* client) {
- return client->CreateUDPSocket();
-}
-
-// static
-void QuicClientPeer::SetClientPort(QuicClient* client, int port) {
- client->client_address_ = IPEndPoint(client->client_address_.address(), port);
-}
-
-// static
-void QuicClientPeer::SetWriter(QuicClient* client, QuicPacketWriter* writer) {
- client->writer_.reset(writer);
-}
-
-} // namespace test
-} // namespace tools
-} // namespace net
« no previous file with comments | « net/tools/quic/test_tools/quic_client_peer.h ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698