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

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

Issue 2621983004: Improve HttpStreamFactory NetLog events (Closed)
Patch Set: Address Bence comments and change back to auto Created 3 years, 10 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Called when a SpdySession is ready. It will find appropriate Requests and 126 // Called when a SpdySession is ready. It will find appropriate Requests and
127 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 127 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
128 // proxy. 128 // proxy.
129 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, 129 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
130 bool direct, 130 bool direct,
131 const SSLConfig& used_ssl_config, 131 const SSLConfig& used_ssl_config,
132 const ProxyInfo& used_proxy_info, 132 const ProxyInfo& used_proxy_info,
133 bool was_alpn_negotiated, 133 bool was_alpn_negotiated,
134 NextProto negotiated_protocol, 134 NextProto negotiated_protocol,
135 bool using_spdy, 135 bool using_spdy);
136 const NetLogWithSource& net_log);
137 136
138 // Called when the Job detects that the endpoint indicated by the 137 // Called when the Job detects that the endpoint indicated by the
139 // Alternate-Protocol does not work. Lets the factory update 138 // Alternate-Protocol does not work. Lets the factory update
140 // HttpAlternateProtocols with the failure and resets the SPDY session key. 139 // HttpAlternateProtocols with the failure and resets the SPDY session key.
141 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin); 140 void OnBrokenAlternateProtocol(const Job*, const HostPortPair& origin);
142 141
143 // Called when the Preconnect completes. Used for testing. 142 // Called when the Preconnect completes. Used for testing.
144 virtual void OnPreconnectsCompleteInternal() {} 143 virtual void OnPreconnectsCompleteInternal() {}
145 144
146 // Called when the JobController finishes service. Delete the JobController 145 // Called when the JobController finishes service. Delete the JobController
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 SpdySessionRequestMap spdy_session_request_map_; 185 SpdySessionRequestMap spdy_session_request_map_;
187 186
188 const bool for_websockets_; 187 const bool for_websockets_;
189 188
190 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 189 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
191 }; 190 };
192 191
193 } // namespace net 192 } // namespace net
194 193
195 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 194 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/source_entry.js ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698