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

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

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch 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/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/simple_quic_framer.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 (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_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "net/quic/core/quic_protocol.h" 14 #include "net/quic/core/quic_protocol.h"
15 #include "net/quic/core/quic_session.h" 15 #include "net/quic/core/quic_session.h"
16 #include "net/quic/core/quic_write_blocked_list.h" 16 #include "net/quic/core/quic_write_blocked_list.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 class QuicCryptoStream; 20 class QuicCryptoStream;
21 class QuicHeadersStream;
22 class QuicSession; 21 class QuicSession;
23 class QuicSpdyStream;
24 class QuicStream; 22 class QuicStream;
25 23
26 namespace test { 24 namespace test {
27 25
28 class QuicSessionPeer { 26 class QuicSessionPeer {
29 public: 27 public:
30 static QuicStreamId GetNextOutgoingStreamId(QuicSession* session); 28 static QuicStreamId GetNextOutgoingStreamId(QuicSession* session);
31 static void SetNextOutgoingStreamId(QuicSession* session, QuicStreamId id); 29 static void SetNextOutgoingStreamId(QuicSession* session, QuicStreamId id);
32 static void SetMaxOpenIncomingStreams(QuicSession* session, 30 static void SetMaxOpenIncomingStreams(QuicSession* session,
33 uint32_t max_streams); 31 uint32_t max_streams);
(...skipping 21 matching lines...) Expand all
55 53
56 private: 54 private:
57 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer); 55 DISALLOW_COPY_AND_ASSIGN(QuicSessionPeer);
58 }; 56 };
59 57
60 } // namespace test 58 } // namespace test
61 59
62 } // namespace net 60 } // namespace net
63 61
64 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_ 62 #endif // NET_QUIC_TEST_TOOLS_QUIC_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698