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

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

Issue 2768173002: Record the time duration for establishing proxy connection (Closed)
Patch Set: Address error histogram Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXY_CLIENT_SOCKET_WRAPPER_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 CompletionCallback connect_callback_; 198 CompletionCallback connect_callback_;
199 199
200 SpdyStreamRequest spdy_stream_request_; 200 SpdyStreamRequest spdy_stream_request_;
201 201
202 scoped_refptr<HttpAuthController> http_auth_controller_; 202 scoped_refptr<HttpAuthController> http_auth_controller_;
203 203
204 NetLogWithSource net_log_; 204 NetLogWithSource net_log_;
205 205
206 base::OneShotTimer connect_timer_; 206 base::OneShotTimer connect_timer_;
207 207
208 // Time when the connection to the proxy was started.
209 base::TimeTicks connect_start_time_;
210
208 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper); 211 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper);
209 }; 212 };
210 213
211 } // namespace net 214 } // namespace net
212 215
213 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ 216 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/http/http_proxy_client_socket_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698