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

Side by Side Diff: net/tools/quic/test_tools/quic_test_utils.cc

Issue 131743009: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use size_t instead of int to fix win_x64 compile error Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/tools/quic/test_tools/quic_test_utils.h" 5 #include "net/tools/quic/test_tools/quic_test_utils.h"
6 6
7 #include "base/sha1.h" 7 #include "base/sha1.h"
8 #include "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 #include "net/quic/test_tools/quic_connection_peer.h" 9 #include "net/quic/test_tools/quic_connection_peer.h"
10 #include "net/quic/test_tools/quic_test_utils.h" 10 #include "net/quic/test_tools/quic_test_utils.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 QuicCryptoStream* TestSession::GetCryptoStream() { 89 QuicCryptoStream* TestSession::GetCryptoStream() {
90 return crypto_stream_; 90 return crypto_stream_;
91 } 91 }
92 92
93 MockPacketWriter::MockPacketWriter() { 93 MockPacketWriter::MockPacketWriter() {
94 } 94 }
95 95
96 MockPacketWriter::~MockPacketWriter() { 96 MockPacketWriter::~MockPacketWriter() {
97 } 97 }
98 98
99 MockQuicSessionOwner::MockQuicSessionOwner() { 99 MockQuicServerSessionVisitor::MockQuicServerSessionVisitor() {
100 } 100 }
101 101
102 MockQuicSessionOwner::~MockQuicSessionOwner() { 102 MockQuicServerSessionVisitor::~MockQuicServerSessionVisitor() {
103 } 103 }
104 104
105 bool TestDecompressorVisitor::OnDecompressedData(StringPiece data) { 105 bool TestDecompressorVisitor::OnDecompressedData(StringPiece data) {
106 data.AppendToString(&data_); 106 data.AppendToString(&data_);
107 return true; 107 return true;
108 } 108 }
109 109
110 void TestDecompressorVisitor::OnDecompressionError() { 110 void TestDecompressorVisitor::OnDecompressionError() {
111 error_ = true; 111 error_ = true;
112 } 112 }
113 113
114 MockAckNotifierDelegate::MockAckNotifierDelegate() { 114 MockAckNotifierDelegate::MockAckNotifierDelegate() {
115 } 115 }
116 116
117 MockAckNotifierDelegate::~MockAckNotifierDelegate() { 117 MockAckNotifierDelegate::~MockAckNotifierDelegate() {
118 } 118 }
119 119
120 } // namespace test 120 } // namespace test
121 } // namespace tools 121 } // namespace tools
122 } // namespace net 122 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698