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

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

Issue 2820573004: Remove the code to store and load QUIC server configs in the disk cache. (Closed)
Patch Set: Fix 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
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | net/quic/chromium/quic_stream_factory_peer.cc » ('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 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_CHROMIUM_QUIC_STREAM_FACTORY_PEER_H_ 5 #ifndef NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_PEER_H_
6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_PEER_H_ 6 #define NET_QUIC_CHROMIUM_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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 static void SetYieldAfterPackets(QuicStreamFactory* factory, 73 static void SetYieldAfterPackets(QuicStreamFactory* factory,
74 int yield_after_packets); 74 int yield_after_packets);
75 75
76 static void SetYieldAfterDuration(QuicStreamFactory* factory, 76 static void SetYieldAfterDuration(QuicStreamFactory* factory,
77 QuicTime::Delta yield_after_duration); 77 QuicTime::Delta yield_after_duration);
78 78
79 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory, 79 static size_t GetNumberOfActiveJobs(QuicStreamFactory* factory,
80 const QuicServerId& server_id); 80 const QuicServerId& server_id);
81 81
82 static void MaybeInitialize(QuicStreamFactory* factory);
83
84 static bool HasInitializedData(QuicStreamFactory* factory);
85
86 static bool SupportsQuicAtStartUp(QuicStreamFactory* factory,
87 HostPortPair host_port_pair);
88
89 static bool CryptoConfigCacheIsEmpty(QuicStreamFactory* factory, 82 static bool CryptoConfigCacheIsEmpty(QuicStreamFactory* factory,
90 const QuicServerId& quic_server_id); 83 const QuicServerId& quic_server_id);
91 84
92 // Creates a dummy QUIC server config and caches it. 85 // Creates a dummy QUIC server config and caches it.
93 static void CacheDummyServerConfig(QuicStreamFactory* factory, 86 static void CacheDummyServerConfig(QuicStreamFactory* factory,
94 const QuicServerId& quic_server_id); 87 const QuicServerId& quic_server_id);
95 88
96 static QuicClientPushPromiseIndex* GetPushPromiseIndex( 89 static QuicClientPushPromiseIndex* GetPushPromiseIndex(
97 QuicStreamFactory* factory); 90 QuicStreamFactory* factory);
98 91
99 static int GetNumPushStreamsCreated(QuicStreamFactory* factory); 92 static int GetNumPushStreamsCreated(QuicStreamFactory* factory);
100 93
101 static void SetAlarmFactory(QuicStreamFactory* factory, 94 static void SetAlarmFactory(QuicStreamFactory* factory,
102 std::unique_ptr<QuicAlarmFactory> alarm_factory); 95 std::unique_ptr<QuicAlarmFactory> alarm_factory);
103 96
104 private: 97 private:
105 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer); 98 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactoryPeer);
106 }; 99 };
107 100
108 } // namespace test 101 } // namespace test
109 } // namespace net 102 } // namespace net
110 103
111 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_PEER_H_ 104 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_stream_factory.cc ('k') | net/quic/chromium/quic_stream_factory_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698