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

Side by Side Diff: net/http/http_stream_factory_impl.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_stream_factory.h ('k') | net/http/http_stream_factory_impl.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_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 HttpStreamRequest::StreamType stream_type, 103 HttpStreamRequest::StreamType stream_type,
104 const BoundNetLog& net_log); 104 const BoundNetLog& net_log);
105 105
106 // Called when a SpdySession is ready. It will find appropriate Requests and 106 // Called when a SpdySession is ready. It will find appropriate Requests and
107 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 107 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
108 // proxy. 108 // proxy.
109 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, 109 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
110 bool direct, 110 bool direct,
111 const SSLConfig& used_ssl_config, 111 const SSLConfig& used_ssl_config,
112 const ProxyInfo& used_proxy_info, 112 const ProxyInfo& used_proxy_info,
113 bool was_npn_negotiated, 113 bool was_alpn_negotiated,
114 NextProto negotiated_protocol, 114 NextProto negotiated_protocol,
115 bool using_spdy, 115 bool using_spdy,
116 const BoundNetLog& net_log); 116 const BoundNetLog& net_log);
117 117
118 // Called when the Job detects that the endpoint indicated by the 118 // Called when the Job detects that the endpoint indicated by the
119 // Alternate-Protocol does not work. Lets the factory update 119 // Alternate-Protocol does not work. Lets the factory update
120 // HttpAlternateProtocols with the failure and resets the SPDY session key. 120 // HttpAlternateProtocols with the failure and resets the SPDY session key.
121 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 121 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin);
122 122
123 // Called when the Preconnect completes. Used for testing. 123 // Called when the Preconnect completes. Used for testing.
(...skipping 22 matching lines...) Expand all
146 146
147 SpdySessionRequestMap spdy_session_request_map_; 147 SpdySessionRequestMap spdy_session_request_map_;
148 148
149 const bool for_websockets_; 149 const bool for_websockets_;
150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
151 }; 151 };
152 152
153 } // namespace net 153 } // namespace net
154 154
155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698