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

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

Issue 19858003: * Removed QuicTag kQuicVersion1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments from rch Created 7 years, 5 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
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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 QuicStreamId last_good_stream_id, 56 QuicStreamId last_good_stream_id,
57 const std::string& reason)); 57 const std::string& reason));
58 MOCK_METHOD0(OnCanWrite, bool()); 58 MOCK_METHOD0(OnCanWrite, bool());
59 59
60 void ReallyProcessUdpPacket(const IPEndPoint& self_address, 60 void ReallyProcessUdpPacket(const IPEndPoint& self_address,
61 const IPEndPoint& peer_address, 61 const IPEndPoint& peer_address,
62 const QuicEncryptedPacket& packet) { 62 const QuicEncryptedPacket& packet) {
63 return QuicConnection::ProcessUdpPacket(self_address, peer_address, packet); 63 return QuicConnection::ProcessUdpPacket(self_address, peer_address, packet);
64 } 64 }
65 65
66 virtual bool OnProtocolVersionMismatch(QuicTag version) { return false; } 66 virtual bool OnProtocolVersionMismatch(QuicVersion version) { return false; }
67 67
68 private: 68 private:
69 const bool has_mock_helper_; 69 const bool has_mock_helper_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(MockConnection); 71 DISALLOW_COPY_AND_ASSIGN(MockConnection);
72 }; 72 };
73 73
74 class TestDecompressorVisitor : public QuicSpdyDecompressor::Visitor { 74 class TestDecompressorVisitor : public QuicSpdyDecompressor::Visitor {
75 public: 75 public:
76 virtual ~TestDecompressorVisitor() {} 76 virtual ~TestDecompressorVisitor() {}
(...skipping 26 matching lines...) Expand all
103 private: 103 private:
104 QuicCryptoStream* crypto_stream_; 104 QuicCryptoStream* crypto_stream_;
105 DISALLOW_COPY_AND_ASSIGN(TestSession); 105 DISALLOW_COPY_AND_ASSIGN(TestSession);
106 }; 106 };
107 107
108 } // namespace test 108 } // namespace test
109 } // namespace tools 109 } // namespace tools
110 } // namespace net 110 } // namespace net
111 111
112 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 112 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_test_client.cc ('k') | net/tools/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698