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

Side by Side Diff: net/quic/chromium/mock_quic_data.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/quic_chromium_alarm_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/quic/core/quic_protocol.h" 5 #include "net/quic/core/quic_packets.h"
6 #include "net/socket/socket_test_util.h" 6 #include "net/socket/socket_test_util.h"
7 7
8 namespace net { 8 namespace net {
9 namespace test { 9 namespace test {
10 10
11 // Helper class to encapsulate MockReads and MockWrites for QUIC. 11 // Helper class to encapsulate MockReads and MockWrites for QUIC.
12 // Simplify ownership issues and the interaction with the MockSocketFactory. 12 // Simplify ownership issues and the interaction with the MockSocketFactory.
13 class MockQuicData { 13 class MockQuicData {
14 public: 14 public:
15 MockQuicData(); 15 MockQuicData();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 std::vector<std::unique_ptr<QuicEncryptedPacket>> packets_; 55 std::vector<std::unique_ptr<QuicEncryptedPacket>> packets_;
56 std::unique_ptr<MockConnect> connect_; 56 std::unique_ptr<MockConnect> connect_;
57 std::vector<MockWrite> writes_; 57 std::vector<MockWrite> writes_;
58 std::vector<MockRead> reads_; 58 std::vector<MockRead> reads_;
59 size_t sequence_number_; 59 size_t sequence_number_;
60 std::unique_ptr<SequencedSocketData> socket_data_; 60 std::unique_ptr<SequencedSocketData> socket_data_;
61 }; 61 };
62 62
63 } // namespace test 63 } // namespace test
64 } // namespace net 64 } // namespace net
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/quic_chromium_alarm_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698