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

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

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Provides a simple interface for QUIC tests to create a variety of packets. 5 // Provides a simple interface for QUIC tests to create a variety of packets.
6 6
7 #ifndef NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ 7 #ifndef NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_
8 #define NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ 8 #define NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "net/base/request_priority.h" 17 #include "net/base/request_priority.h"
18 #include "net/quic/core/quic_packets.h" 18 #include "net/quic/core/quic_packets.h"
19 #include "net/quic/platform/api/quic_string_piece.h" 19 #include "net/quic/platform/api/quic_string_piece.h"
20 #include "net/quic/test_tools/mock_clock.h" 20 #include "net/quic/test_tools/mock_clock.h"
21 #include "net/quic/test_tools/mock_random.h" 21 #include "net/quic/test_tools/mock_random.h"
22 #include "net/spdy/spdy_framer.h" 22 #include "net/spdy/core/spdy_framer.h"
23 #include "net/spdy/spdy_protocol.h" 23 #include "net/spdy/core/spdy_protocol.h"
24 24
25 namespace net { 25 namespace net {
26 namespace test { 26 namespace test {
27 27
28 class QuicTestPacketMaker { 28 class QuicTestPacketMaker {
29 public: 29 public:
30 QuicTestPacketMaker(QuicVersion version, 30 QuicTestPacketMaker(QuicVersion version,
31 QuicConnectionId connection_id, 31 QuicConnectionId connection_id,
32 MockClock* clock, 32 MockClock* clock,
33 const std::string& host, 33 const std::string& host,
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 QuicPacketHeader header_; 264 QuicPacketHeader header_;
265 Perspective perspective_; 265 Perspective perspective_;
266 266
267 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker); 267 DISALLOW_COPY_AND_ASSIGN(QuicTestPacketMaker);
268 }; 268 };
269 269
270 } // namespace test 270 } // namespace test
271 } // namespace net 271 } // namespace net
272 272
273 #endif // NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_ 273 #endif // NET_QUIC_CHROMIUM_QUIC_TEST_PACKET_MAKER_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_stream_factory_test.cc ('k') | net/quic/core/quic_client_promised_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698