OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONNECT_TIMING_H_ |
| 6 #define CONNECT_TIMING_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "base/time.h" |
| 10 #include "net/base/net_export.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 // Contains the LoadTimingInfo events related to establishing a connection. |
| 15 // These are all set by ConnectJobs. See base/load_timing.h for field |
| 16 // descriptions. |
| 17 struct NET_EXPORT_PRIVATE ConnectTiming { |
| 18 ConnectTiming(); |
| 19 ~ConnectTiming(); |
| 20 |
| 21 base::TimeTicks dns_start; |
| 22 base::TimeTicks dns_end; |
| 23 |
| 24 base::TimeTicks connect_start; |
| 25 base::TimeTicks connect_end; |
| 26 |
| 27 base::TimeTicks ssl_start; |
| 28 base::TimeTicks ssl_end; |
| 29 }; |
| 30 |
| 31 } // namespace net |
| 32 |
| 33 #endif // CONNECT_TIMING_H_ |
OLD | NEW |