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

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

Issue 17760008: [SPDY] Enable tests for SPDY/3.1 and SPDY/4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 5 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_proxy_client_socket_pool_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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "net/base/host_port_pair.h" 11 #include "net/base/host_port_pair.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/http/http_pipelined_host_capability.h" 13 #include "net/http/http_pipelined_host_capability.h"
14 #include "net/spdy/spdy_framer.h" // TODO(willchan): Reconsider this. 14 #include "net/spdy/spdy_framer.h" // TODO(willchan): Reconsider this.
15 15
16 namespace net { 16 namespace net {
17 17
18 enum AlternateProtocol { 18 enum AlternateProtocol {
19 NPN_SPDY_1 = 0, 19 NPN_SPDY_1 = 0,
20 NPN_SPDY_MINIMUM_VERSION = NPN_SPDY_1,
20 NPN_SPDY_2, 21 NPN_SPDY_2,
21 NPN_SPDY_3, 22 NPN_SPDY_3,
22 NPN_SPDY_3_1, 23 NPN_SPDY_3_1,
23 NPN_SPDY_4A2, 24 NPN_SPDY_4A2,
25 NPN_SPDY_MAXIMUM_VERSION = NPN_SPDY_4A2,
24 QUIC, 26 QUIC,
25 NUM_ALTERNATE_PROTOCOLS, 27 NUM_ALTERNATE_PROTOCOLS,
26 ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken. 28 ALTERNATE_PROTOCOL_BROKEN, // The alternate protocol is known to be broken.
27 UNINITIALIZED_ALTERNATE_PROTOCOL, 29 UNINITIALIZED_ALTERNATE_PROTOCOL,
28 }; 30 };
29 31
30 NET_EXPORT const char* AlternateProtocolToString(AlternateProtocol protocol); 32 NET_EXPORT const char* AlternateProtocolToString(AlternateProtocol protocol);
31 NET_EXPORT AlternateProtocol AlternateProtocolFromString( 33 NET_EXPORT AlternateProtocol AlternateProtocolFromString(
32 const std::string& protocol); 34 const std::string& protocol);
33 35
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 124
123 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const = 0; 125 virtual PipelineCapabilityMap GetPipelineCapabilityMap() const = 0;
124 126
125 private: 127 private:
126 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties); 128 DISALLOW_COPY_AND_ASSIGN(HttpServerProperties);
127 }; 129 };
128 130
129 } // namespace net 131 } // namespace net
130 132
131 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_ 133 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/http/http_server_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698