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

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

Issue 9959033: Move NextProto enum to a new file net/socket/next_proto.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address wtc's comments Created 8 years, 8 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
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_STREAM_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 virtual int RestartTunnelWithProxyAuth( 140 virtual int RestartTunnelWithProxyAuth(
141 const AuthCredentials& credentials) = 0; 141 const AuthCredentials& credentials) = 0;
142 142
143 // Returns the LoadState for the request. 143 // Returns the LoadState for the request.
144 virtual LoadState GetLoadState() const = 0; 144 virtual LoadState GetLoadState() const = 0;
145 145
146 // Returns true if TLS/NPN was negotiated for this stream. 146 // Returns true if TLS/NPN was negotiated for this stream.
147 virtual bool was_npn_negotiated() const = 0; 147 virtual bool was_npn_negotiated() const = 0;
148 148
149 // Protocol negotiated with the server. 149 // Protocol negotiated with the server.
150 virtual SSLClientSocket::NextProto protocol_negotiated() const = 0; 150 virtual NextProto protocol_negotiated() const = 0;
151 151
152 // Returns true if this stream is being fetched over SPDY. 152 // Returns true if this stream is being fetched over SPDY.
153 virtual bool using_spdy() const = 0; 153 virtual bool using_spdy() const = 0;
154 }; 154 };
155 155
156 // The HttpStreamFactory defines an interface for creating usable HttpStreams. 156 // The HttpStreamFactory defines an interface for creating usable HttpStreams.
157 class NET_EXPORT HttpStreamFactory { 157 class NET_EXPORT HttpStreamFactory {
158 public: 158 public:
159 virtual ~HttpStreamFactory(); 159 virtual ~HttpStreamFactory();
160 160
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 static bool http_pipelining_enabled_; 292 static bool http_pipelining_enabled_;
293 static uint16 testing_fixed_http_port_; 293 static uint16 testing_fixed_http_port_;
294 static uint16 testing_fixed_https_port_; 294 static uint16 testing_fixed_https_port_;
295 295
296 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 296 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
297 }; 297 };
298 298
299 } // namespace net 299 } // namespace net
300 300
301 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 301 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_spdy3_unittest.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698