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

Side by Side Diff: net/quic/test_tools/quic_stream_factory_peer.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 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_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9 #include <stdint.h>
10
11 #include "base/macros.h"
9 #include "base/task_runner.h" 12 #include "base/task_runner.h"
10 #include "net/base/host_port_pair.h" 13 #include "net/base/host_port_pair.h"
11 #include "net/base/privacy_mode.h" 14 #include "net/base/privacy_mode.h"
12 #include "net/quic/quic_protocol.h" 15 #include "net/quic/quic_protocol.h"
13 #include "net/quic/quic_server_id.h" 16 #include "net/quic/quic_server_id.h"
14 #include "net/quic/quic_time.h" 17 #include "net/quic/quic_time.h"
15 18
16 namespace net { 19 namespace net {
17 20
18 class QuicConfig; 21 class QuicConfig;
(...skipping 21 matching lines...) Expand all
40 QuicStreamFactory* factory, 43 QuicStreamFactory* factory,
41 QuicChromiumClientSession* session); 44 QuicChromiumClientSession* session);
42 45
43 static bool IsLiveSession(QuicStreamFactory* factory, 46 static bool IsLiveSession(QuicStreamFactory* factory,
44 QuicChromiumClientSession* session); 47 QuicChromiumClientSession* session);
45 48
46 static void SetTaskRunner(QuicStreamFactory* factory, 49 static void SetTaskRunner(QuicStreamFactory* factory,
47 base::TaskRunner* task_runner); 50 base::TaskRunner* task_runner);
48 51
49 static int GetNumberOfLossyConnections(QuicStreamFactory* factory, 52 static int GetNumberOfLossyConnections(QuicStreamFactory* factory,
50 uint16 port); 53 uint16_t port);
51 54
52 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16 port); 55 static bool IsQuicDisabled(QuicStreamFactory* factory, uint16_t port);
53 56
54 static bool GetDelayTcpRace(QuicStreamFactory* factory); 57 static bool GetDelayTcpRace(QuicStreamFactory* factory);
55 58
56 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race); 59 static void SetDelayTcpRace(QuicStreamFactory* factory, bool delay_tcp_race);
57 60
58 static void SetYieldAfterPackets(QuicStreamFactory* factory, 61 static void SetYieldAfterPackets(QuicStreamFactory* factory,
59 int yield_after_packets); 62 int yield_after_packets);
60 63
61 static void SetYieldAfterDuration(QuicStreamFactory* factory, 64 static void SetYieldAfterDuration(QuicStreamFactory* factory,
62 QuicTime::Delta yield_after_duration); 65 QuicTime::Delta yield_after_duration);
(...skipping 20 matching lines...) Expand all
83 const QuicServerId& quic_server_id); 86 const QuicServerId& quic_server_id);
84 87
85 private: 88 private:
86 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); 89 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer);
87 }; 90 };
88 91
89 } // namespace test 92 } // namespace test
90 } // namespace net 93 } // namespace net
91 94
92 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 95 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_spdy_stream_peer.h ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698