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

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

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/quic/quic_protocol.h" 13 #include "net/quic/core/quic_protocol.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class QuicChromiumClientSession; 17 class QuicChromiumClientSession;
18 18
19 namespace test { 19 namespace test {
20 20
21 class QuicChromiumClientSessionPeer { 21 class QuicChromiumClientSessionPeer {
22 public: 22 public:
23 static void SetMaxOpenStreams(QuicChromiumClientSession* session, 23 static void SetMaxOpenStreams(QuicChromiumClientSession* session,
24 size_t max_streams, 24 size_t max_streams,
25 size_t default_streams); 25 size_t default_streams);
26 26
27 static void SetChannelIDSent(QuicChromiumClientSession* session, 27 static void SetChannelIDSent(QuicChromiumClientSession* session,
28 bool channel_id_sent); 28 bool channel_id_sent);
29 29
30 static void SetHostname(QuicChromiumClientSession* session, 30 static void SetHostname(QuicChromiumClientSession* session,
31 const std::string& hostname); 31 const std::string& hostname);
32 32
33 private: 33 private:
34 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSessionPeer); 34 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSessionPeer);
35 }; 35 };
36 36
37 } // namespace test 37 } // namespace test
38 } // namespace net 38 } // namespace net
39 39
40 #endif // NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_ 40 #endif // NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/quic/chromium/quic_chromium_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698