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

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

Issue 1579213006: Remove unused SPDY/3 enum values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove trivial comparisons; change non-trivial ones. 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 NPN_SPDY_3,
70 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = NPN_SPDY_3,
71 NPN_SPDY_MINIMUM_VERSION = NPN_SPDY_3,
72 NPN_SPDY_3_1, 69 NPN_SPDY_3_1,
70 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = NPN_SPDY_3_1,
71 NPN_SPDY_MINIMUM_VERSION = NPN_SPDY_3_1,
73 NPN_HTTP_2, 72 NPN_HTTP_2,
74 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP_2, 73 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP_2,
75 QUIC, 74 QUIC,
76 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC, 75 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC,
77 UNINITIALIZED_ALTERNATE_PROTOCOL, 76 UNINITIALIZED_ALTERNATE_PROTOCOL,
78 }; 77 };
79 78
80 // Simply returns whether |protocol| is between 79 // Simply returns whether |protocol| is between
81 // ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION and 80 // ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION and
82 // ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION (inclusive). 81 // ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION (inclusive).
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // Returns all persistent QuicServerInfo objects. 379 // Returns all persistent QuicServerInfo objects.
381 virtual const QuicServerInfoMap& quic_server_info_map() const = 0; 380 virtual const QuicServerInfoMap& quic_server_info_map() const = 0;
382 381
383 private: 382 private:
384 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 383 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
385 }; 384 };
386 385
387 } // namespace net 386 } // namespace net
388 387
389 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 388 #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