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

Unified Diff: net/socket/connect_timing.h

Issue 11428150: LoadTiming implementation in net, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Try upload again Created 8 years 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/connect_timing.h
===================================================================
--- net/socket/connect_timing.h (revision 0)
+++ net/socket/connect_timing.h (revision 0)
@@ -0,0 +1,33 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONNECT_TIMING_H_
eroman 2012/12/14 04:08:35 I believe this should be a full path not just file
mmenke 2012/12/14 13:36:12 Done.
+#define CONNECT_TIMING_H_
+
+#include "base/basictypes.h"
+#include "base/time.h"
+#include "net/base/net_export.h"
+
+namespace net {
+
+// Contains the LoadTimingInfo events related to establishing a connection.
+// These are all set by ConnectJobs. See base/load_timing.h for field
+// descriptions.
+struct NET_EXPORT_PRIVATE ConnectTiming {
+ ConnectTiming();
+ ~ConnectTiming();
+
+ base::TimeTicks dns_start;
+ base::TimeTicks dns_end;
+
+ base::TimeTicks connect_start;
+ base::TimeTicks connect_end;
+
+ base::TimeTicks ssl_start;
+ base::TimeTicks ssl_end;
+};
+
+} // namespace net
+
+#endif // CONNECT_TIMING_H_
Property changes on: net\socket\connect_timing.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698