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

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

Issue 2780523002: m58 merge QUIC: mark QUIC handshake failed if connection is closed after CryptoConnect (Closed)
Patch Set: 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 class QuicStreamFactoryPeer { 31 class QuicStreamFactoryPeer {
32 public: 32 public:
33 static const QuicConfig* GetConfig(QuicStreamFactory* factory); 33 static const QuicConfig* GetConfig(QuicStreamFactory* factory);
34 34
35 static QuicCryptoClientConfig* GetCryptoConfig(QuicStreamFactory* factory); 35 static QuicCryptoClientConfig* GetCryptoConfig(QuicStreamFactory* factory);
36 36
37 static bool HasActiveSession(QuicStreamFactory* factory, 37 static bool HasActiveSession(QuicStreamFactory* factory,
38 const QuicServerId& server_id); 38 const QuicServerId& server_id);
39 39
40 static bool HasActiveJob(QuicStreamFactory* factory,
41 const QuicServerId& server_id);
42
40 static bool HasActiveCertVerifierJob(QuicStreamFactory* factory, 43 static bool HasActiveCertVerifierJob(QuicStreamFactory* factory,
41 const QuicServerId& server_id); 44 const QuicServerId& server_id);
42 45
43 static QuicChromiumClientSession* GetActiveSession( 46 static QuicChromiumClientSession* GetActiveSession(
44 QuicStreamFactory* factory, 47 QuicStreamFactory* factory,
45 const QuicServerId& server_id); 48 const QuicServerId& server_id);
46 49
47 static std::unique_ptr<QuicHttpStream> CreateFromSession( 50 static std::unique_ptr<QuicHttpStream> CreateFromSession(
48 QuicStreamFactory* factory, 51 QuicStreamFactory* factory,
49 QuicChromiumClientSession* session); 52 QuicChromiumClientSession* session);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); 104 static int GetNumPushStreamsCreated(QuicStreamFactory* factory);
102 105
103 private: 106 private:
104 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); 107 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer);
105 }; 108 };
106 109
107 } // namespace test 110 } // namespace test
108 } // namespace net 111 } // namespace net
109 112
110 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_ 113 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_FACTORY_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream.cc ('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