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

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

Issue 2562113002: Fix header guards in //net. (Closed)
Patch Set: 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
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 #ifndef NET_QUIC_CHROMIUM_MOCK_QUIC_DATA_H_
6 #define NET_QUIC_CHROMIUM_MOCK_QUIC_DATA_H_
7
5 #include "net/quic/core/quic_packets.h" 8 #include "net/quic/core/quic_packets.h"
6 #include "net/socket/socket_test_util.h" 9 #include "net/socket/socket_test_util.h"
7 10
8 namespace net { 11 namespace net {
9 namespace test { 12 namespace test {
10 13
11 // Helper class to encapsulate MockReads and MockWrites for QUIC. 14 // Helper class to encapsulate MockReads and MockWrites for QUIC.
12 // Simplify ownership issues and the interaction with the MockSocketFactory. 15 // Simplify ownership issues and the interaction with the MockSocketFactory.
13 class MockQuicData { 16 class MockQuicData {
14 public: 17 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 std::vector<std::unique_ptr<QuicEncryptedPacket>> packets_; 58 std::vector<std::unique_ptr<QuicEncryptedPacket>> packets_;
56 std::unique_ptr<MockConnect> connect_; 59 std::unique_ptr<MockConnect> connect_;
57 std::vector<MockWrite> writes_; 60 std::vector<MockWrite> writes_;
58 std::vector<MockRead> reads_; 61 std::vector<MockRead> reads_;
59 size_t sequence_number_; 62 size_t sequence_number_;
60 std::unique_ptr<SequencedSocketData> socket_data_; 63 std::unique_ptr<SequencedSocketData> socket_data_;
61 }; 64 };
62 65
63 } // namespace test 66 } // namespace test
64 } // namespace net 67 } // namespace net
68
69 #endif // NET_QUIC_CHROMIUM_MOCK_QUIC_DATA_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/crypto/channel_id_chromium.h ('k') | net/quic/core/quic_sustained_bandwidth_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698