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

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

Issue 1561203003: Remove SPDY/2 code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #3. Created 4 years, 11 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_response_info.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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 BROKEN_ALTERNATE_PROTOCOL_LOCATION_HTTP_STREAM_FACTORY_IMPL_JOB_ALT = 2, 59 BROKEN_ALTERNATE_PROTOCOL_LOCATION_HTTP_STREAM_FACTORY_IMPL_JOB_ALT = 2,
60 BROKEN_ALTERNATE_PROTOCOL_LOCATION_HTTP_STREAM_FACTORY_IMPL_JOB_MAIN = 3, 60 BROKEN_ALTERNATE_PROTOCOL_LOCATION_HTTP_STREAM_FACTORY_IMPL_JOB_MAIN = 3,
61 BROKEN_ALTERNATE_PROTOCOL_LOCATION_MAX, 61 BROKEN_ALTERNATE_PROTOCOL_LOCATION_MAX,
62 }; 62 };
63 63
64 // Log a histogram to reflect |location|. 64 // Log a histogram to reflect |location|.
65 NET_EXPORT void HistogramBrokenAlternateProtocolLocation( 65 NET_EXPORT void HistogramBrokenAlternateProtocolLocation(
66 BrokenAlternateProtocolLocation location); 66 BrokenAlternateProtocolLocation location);
67 67
68 enum AlternateProtocol { 68 enum AlternateProtocol {
69 DEPRECATED_NPN_SPDY_2 = 0,
70 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = DEPRECATED_NPN_SPDY_2,
71 NPN_SPDY_MINIMUM_VERSION = DEPRECATED_NPN_SPDY_2,
72 NPN_SPDY_3, 69 NPN_SPDY_3,
70 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = NPN_SPDY_3,
71 NPN_SPDY_MINIMUM_VERSION = NPN_SPDY_3,
73 NPN_SPDY_3_1, 72 NPN_SPDY_3_1,
74 NPN_HTTP_2, // HTTP/2 73 NPN_HTTP_2,
75 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP_2, 74 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP_2,
76 QUIC, 75 QUIC,
77 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC, 76 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC,
78 UNINITIALIZED_ALTERNATE_PROTOCOL, 77 UNINITIALIZED_ALTERNATE_PROTOCOL,
79 }; 78 };
80 79
81 // Simply returns whether |protocol| is between 80 // Simply returns whether |protocol| is between
82 // ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION and 81 // ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION and
83 // ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION (inclusive). 82 // ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION (inclusive).
84 NET_EXPORT bool IsAlternateProtocolValid(AlternateProtocol protocol); 83 NET_EXPORT bool IsAlternateProtocolValid(AlternateProtocol protocol);
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 // Returns all persistent QuicServerInfo objects. 380 // Returns all persistent QuicServerInfo objects.
382 virtual const QuicServerInfoMap& quic_server_info_map() const = 0; 381 virtual const QuicServerInfoMap& quic_server_info_map() const = 0;
383 382
384 private: 383 private:
385 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 384 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
386 }; 385 };
387 386
388 } // namespace net 387 } // namespace net
389 388
390 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 389 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_
OLDNEW
« no previous file with comments | « net/http/http_response_info.cc ('k') | net/http/http_server_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698