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

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

Issue 2347163002: s/NPN/ALPN/ (Closed)
Patch Set: Re: #12. Created 4 years, 3 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_stream_factory_impl.h » ('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_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 10
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // resume the HttpStream creation process. 173 // resume the HttpStream creation process.
174 virtual int RestartTunnelWithProxyAuth( 174 virtual int RestartTunnelWithProxyAuth(
175 const AuthCredentials& credentials) = 0; 175 const AuthCredentials& credentials) = 0;
176 176
177 // Called when the priority of the parent transaction changes. 177 // Called when the priority of the parent transaction changes.
178 virtual void SetPriority(RequestPriority priority) = 0; 178 virtual void SetPriority(RequestPriority priority) = 0;
179 179
180 // Returns the LoadState for the request. 180 // Returns the LoadState for the request.
181 virtual LoadState GetLoadState() const = 0; 181 virtual LoadState GetLoadState() const = 0;
182 182
183 // Returns true if TLS/NPN was negotiated for this stream. 183 // Returns true if TLS/ALPN was negotiated for this stream.
184 virtual bool was_npn_negotiated() const = 0; 184 virtual bool was_alpn_negotiated() const = 0;
185 185
186 // Protocol negotiated with the server. 186 // Protocol negotiated with the server.
187 virtual NextProto negotiated_protocol() const = 0; 187 virtual NextProto negotiated_protocol() const = 0;
188 188
189 // Returns true if this stream is being fetched over SPDY. 189 // Returns true if this stream is being fetched over SPDY.
190 virtual bool using_spdy() const = 0; 190 virtual bool using_spdy() const = 0;
191 191
192 // Returns socket-layer connection attempts made for this stream request. 192 // Returns socket-layer connection attempts made for this stream request.
193 virtual const ConnectionAttempts& connection_attempts() const = 0; 193 virtual const ConnectionAttempts& connection_attempts() const = 0;
194 }; 194 };
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 private: 249 private:
250 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server); 250 url::SchemeHostPort RewriteHost(const url::SchemeHostPort& server);
251 251
252 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 252 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
253 }; 253 };
254 254
255 } // namespace net 255 } // namespace net
256 256
257 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 257 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_response_info.cc ('k') | net/http/http_stream_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698