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

Side by Side Diff: net/http/http_server_properties.h

Issue 2011983002: Remove |parse_alternative_service| flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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/http/http_network_transaction_unittest.cc ('k') | net/http/http_server_properties.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 (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_HTTP_HTTP_SERVER_PROPERTIES_H_ 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_H_
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 typedef base::MRUCache<url::SchemeHostPort, AlternativeServiceInfoVector> 207 typedef base::MRUCache<url::SchemeHostPort, AlternativeServiceInfoVector>
208 AlternativeServiceMap; 208 AlternativeServiceMap;
209 typedef base::MRUCache<url::SchemeHostPort, SettingsMap> SpdySettingsMap; 209 typedef base::MRUCache<url::SchemeHostPort, SettingsMap> SpdySettingsMap;
210 typedef base::MRUCache<url::SchemeHostPort, ServerNetworkStats> 210 typedef base::MRUCache<url::SchemeHostPort, ServerNetworkStats>
211 ServerNetworkStatsMap; 211 ServerNetworkStatsMap;
212 typedef base::MRUCache<QuicServerId, std::string> QuicServerInfoMap; 212 typedef base::MRUCache<QuicServerId, std::string> QuicServerInfoMap;
213 213
214 // Persist 5 QUIC Servers. This is mainly used by cronet. 214 // Persist 5 QUIC Servers. This is mainly used by cronet.
215 const int kMaxQuicServersToPersist = 5; 215 const int kMaxQuicServersToPersist = 5;
216 216
217 extern const char kAlternateProtocolHeader[];
218 extern const char kAlternativeServiceHeader[]; 217 extern const char kAlternativeServiceHeader[];
219 218
220 // The interface for setting/retrieving the HTTP server properties. 219 // The interface for setting/retrieving the HTTP server properties.
221 // Currently, this class manages servers': 220 // Currently, this class manages servers':
222 // * SPDY support (based on NPN results). 221 // * SPDY support (based on NPN results).
223 // * alternative service support. 222 // * alternative service support.
224 // * SPDY Settings (like CWND ID field). 223 // * SPDY Settings (like CWND ID field).
225 // * QUIC data (like ServerNetworkStats and QuicServerInfo). 224 // * QUIC data (like ServerNetworkStats and QuicServerInfo).
226 // 225 //
227 // Embedders must ensure that HttpServerProperites is completely initialized 226 // Embedders must ensure that HttpServerProperites is completely initialized
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 virtual void SetMaxServerConfigsStoredInProperties( 374 virtual void SetMaxServerConfigsStoredInProperties(
376 size_t max_server_configs_stored_in_properties) = 0; 375 size_t max_server_configs_stored_in_properties) = 0;
377 376
378 private: 377 private:
379 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 378 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
380 }; 379 };
381 380
382 } // namespace net 381 } // namespace net
383 382
384 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 383 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_server_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698