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

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

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enough! Created 5 years, 1 month 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 "net/quic/quic_protocol.h" 8 #include "net/quic/quic_protocol.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 class QuicChromiumClientSession; 12 class QuicChromiumClientSession;
13 13
14 namespace test { 14 namespace test {
15 15
16 class QuicChromiumClientSessionPeer { 16 class QuicChromiumClientSessionPeer {
17 public: 17 public:
18 static void SetMaxOpenStreams(QuicChromiumClientSession* session, 18 static void SetMaxOpenStreams(QuicChromiumClientSession* session,
19 size_t max_streams, 19 size_t max_streams,
20 size_t default_streams); 20 size_t default_streams);
21 21
22 static void SetChannelIDSent(QuicChromiumClientSession* session, 22 static void SetChannelIDSent(QuicChromiumClientSession* session,
23 bool channel_id_sent); 23 bool channel_id_sent);
24 24
25 static void SetHostname(QuicChromiumClientSession* session,
26 const std::string& hostname);
27
25 private: 28 private:
26 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSessionPeer); 29 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientSessionPeer);
27 }; 30 };
28 31
29 } // namespace test 32 } // namespace test
30 } // namespace net 33 } // namespace net
31 34
32 #endif // NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_ 35 #endif // NET_QUIC_TEST_TOOLS_QUIC_CHROMIUM_CLIENT_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/crypto_test_utils.cc ('k') | net/quic/test_tools/quic_chromium_client_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698