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

Unified Diff: components/page_load_metrics/browser/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/browser/BUILD.gn
diff --git a/components/favicon/content/BUILD.gn b/components/page_load_metrics/browser/BUILD.gn
similarity index 51%
copy from components/favicon/content/BUILD.gn
copy to components/page_load_metrics/browser/BUILD.gn
index fb1110b87ca4df4bb46a3f87a5511b887eb1cd33..4a404ab5bffc720c2fac39fba6544d2b0664852e 100644
--- a/components/favicon/content/BUILD.gn
+++ b/components/page_load_metrics/browser/BUILD.gn
@@ -2,34 +2,29 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("content") {
+# GYP version: components/page_load_metrics.gypi:page_load_metrics_browser
+static_library("browser") {
sources = [
- "content_favicon_driver.cc",
- "content_favicon_driver.h",
- "favicon_url_util.cc",
- "favicon_url_util.h",
+ "metrics_web_contents_observer.cc",
+ "metrics_web_contents_observer.h",
]
-
public_deps = [
- "//ui/gfx",
+ "//content/public/browser",
]
deps = [
"//base",
- "//components/favicon/core",
- "//components/favicon_base",
- "//content/public/browser",
- "//content/public/common",
+ "//components/page_load_metrics/common",
+ "//ipc",
]
}
source_set("unit_tests") {
testonly = true
sources = [
- "content_favicon_driver_unittest.cc",
+ "metrics_web_contents_observer_unittest.cc",
]
deps = [
- ":content",
- "//content/public/browser",
+ ":browser",
"//testing/gtest",
]
}

Powered by Google App Engine
This is Rietveld 408576698