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

Unified Diff: ios/chrome/browser/metrics/BUILD.gn

Issue 2703333006: Move the notion of current Tab from TabModel to WebStateList. (Closed)
Patch Set: Rebase. Created 3 years, 10 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
« no previous file with comments | « no previous file | ios/chrome/browser/metrics/tab_usage_recorder_web_state_list_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/metrics/BUILD.gn
diff --git a/ios/chrome/browser/metrics/BUILD.gn b/ios/chrome/browser/metrics/BUILD.gn
index 0ca522fda465a18488a56414334f5fd864fa0525..b00c88175d1b50375e82f6c11de721cbb109d1df 100644
--- a/ios/chrome/browser/metrics/BUILD.gn
+++ b/ios/chrome/browser/metrics/BUILD.gn
@@ -109,9 +109,26 @@ source_set("metrics_internal") {
"//ui/base",
"//url",
]
+ public_deps = [
+ ":metrics_internal_arc",
+ ]
+ allow_circular_includes_from = [ ":metrics_internal_arc" ]
libs = [ "UIKit.framework" ]
}
+source_set("metrics_internal_arc") {
+ sources = [
+ "tab_usage_recorder_web_state_list_observer.h",
+ "tab_usage_recorder_web_state_list_observer.mm",
+ ]
+ deps = [
+ "//base",
+ "//ios/chrome/browser/tabs",
+ "//ios/shared/chrome/browser/tabs",
+ ]
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
source_set("unit_tests_internal") {
testonly = true
sources = [
« no previous file with comments | « no previous file | ios/chrome/browser/metrics/tab_usage_recorder_web_state_list_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698