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

Unified Diff: components/page_load_metrics/common/page_load_timing.cc

Issue 1282303002: PageLoadMetrics renderer and browser implementation (deprecated) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/page_load_metrics/common/page_load_timing.cc
diff --git a/components/page_load_metrics/common/page_load_timing.cc b/components/page_load_metrics/common/page_load_timing.cc
new file mode 100644
index 0000000000000000000000000000000000000000..84e3e1845c0dc5a200405d3f9b3f55a2382d7f24
--- /dev/null
+++ b/components/page_load_metrics/common/page_load_timing.cc
@@ -0,0 +1,20 @@
+// Copyright 2015 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.
+
+#include "components/page_load_metrics/common/page_load_timing.h"
+
+namespace page_load_metrics {
+
+PageLoadTiming::PageLoadTiming() {}
+PageLoadTiming::~PageLoadTiming() {}
+
+bool PageLoadTiming::operator==(const PageLoadTiming& other) const {
+ return navigation_start == other.navigation_start &&
+ response_start == other.response_start &&
+ dom_content_loaded_event_start == other.dom_content_loaded_event_start &&
+ load_event_start == other.load_event_start &&
+ first_layout == other.first_layout;
+}
+
+} // namespace page_load_metrics

Powered by Google App Engine
This is Rietveld 408576698