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

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

Issue 25977005: [SPDY] Do not advertise SPDY/2 by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« 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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "net/base/host_port_pair.h" 12 #include "net/base/host_port_pair.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/http/http_pipelined_host_capability.h" 14 #include "net/http/http_pipelined_host_capability.h"
15 #include "net/socket/next_proto.h" 15 #include "net/socket/next_proto.h"
16 #include "net/spdy/spdy_framer.h" // TODO(willchan): Reconsider this. 16 #include "net/spdy/spdy_framer.h" // TODO(willchan): Reconsider this.
17 17
18 namespace net { 18 namespace net {
19 19
20 enum AlternateProtocol { 20 enum AlternateProtocol {
21 NPN_SPDY_2 = 0, 21 DEPRECATED_NPN_SPDY_2 = 0,
ramant (doing other things) 2013/10/04 17:03:36 unit tests seem to fail. Could you please take ano
akalin 2013/10/04 18:51:11 Done.
22 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = NPN_SPDY_2, 22 ALTERNATE_PROTOCOL_MINIMUM_VALID_VERSION = DEPRECATED_NPN_SPDY_2,
23 NPN_SPDY_MINIMUM_VERSION = NPN_SPDY_2, 23 NPN_SPDY_MINIMUM_VERSION = DEPRECATED_NPN_SPDY_2,
24 NPN_SPDY_3, 24 NPN_SPDY_3,
25 NPN_SPDY_3_1, 25 NPN_SPDY_3_1,
26 NPN_SPDY_4A2, 26 NPN_SPDY_4A2,
27 // We lump in HTTP/2 with the SPDY protocols for now. 27 // We lump in HTTP/2 with the SPDY protocols for now.
28 NPN_HTTP2_DRAFT_04, 28 NPN_HTTP2_DRAFT_04,
29 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP2_DRAFT_04, 29 NPN_SPDY_MAXIMUM_VERSION = NPN_HTTP2_DRAFT_04,
30 QUIC, 30 QUIC,
31 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC, 31 ALTERNATE_PROTOCOL_MAXIMUM_VALID_VERSION = QUIC,
32 ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken. 32 ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken.
33 UNINITIALIZED_ALTERNATE_PROTOCOL, 33 UNINITIALIZED_ALTERNATE_PROTOCOL,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const = 0; 144 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const = 0;
145 145
146 private: 146 private:
147 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 147 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
148 }; 148 };
149 149
150 } // namespace net 150 } // namespace net
151 151
152 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 152 #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