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

Unified Diff: components/page_load_metrics/renderer/BUILD.gn

Issue 1312213010: PageLoadMetrics renderer and browser implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Relax DCHECK constraints slightly for tests Created 5 years, 3 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/renderer/BUILD.gn
diff --git a/components/page_load_metrics/renderer/BUILD.gn b/components/page_load_metrics/renderer/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..8415acff7620cf0840cfdc36b10e17b9d4694253
--- /dev/null
+++ b/components/page_load_metrics/renderer/BUILD.gn
@@ -0,0 +1,36 @@
+# 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.
+
+# GYP version: components/page_load_metrics.gypi:page_load_metrics_renderer
+static_library("renderer") {
+ sources = [
+ "metrics_render_frame_observer.cc",
+ "metrics_render_frame_observer.h",
+ "page_timing_metrics_sender.cc",
+ "page_timing_metrics_sender.h",
+ ]
+ public_deps = [
+ "//content/public/renderer",
+ ]
+ deps = [
+ "//base",
+ "//components/page_load_metrics/common",
+ "//third_party/WebKit/public:blink",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "metrics_render_frame_observer_unittest.cc",
+ "page_timing_metrics_sender_unittest.cc",
+ ]
+ deps = [
+ ":renderer",
+ "//ipc",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698