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

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

Issue 2529283002: Save favicon during reading list distillation (Closed)
Patch Set: Change map to vector Created 4 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: ios/chrome/browser/dom_distiller/BUILD.gn
diff --git a/ios/chrome/browser/dom_distiller/BUILD.gn b/ios/chrome/browser/dom_distiller/BUILD.gn
index 67b4e9e30af5a4bb68066b54a345daa4a315539e..809293d94f2868aadc172630b245523d4a8292bd 100644
--- a/ios/chrome/browser/dom_distiller/BUILD.gn
+++ b/ios/chrome/browser/dom_distiller/BUILD.gn
@@ -8,19 +8,44 @@ source_set("dom_distiller") {
"distiller_viewer.h",
"dom_distiller_service_factory.cc",
"dom_distiller_service_factory.h",
+ "favicon_web_state_dispatcher_impl.h",
+ "favicon_web_state_dispatcher_impl.mm",
]
deps = [
"//base",
- "//components/dom_distiller/core",
"//components/dom_distiller/ios",
+ "//components/favicon/core",
+ "//components/favicon/ios",
"//components/keyed_service/core",
"//components/keyed_service/ios",
"//components/leveldb_proto",
+ "//ios/chrome/browser/bookmarks",
"//ios/chrome/browser/browser_state",
+ "//ios/chrome/browser/favicon",
+ "//ios/chrome/browser/history",
+ "//ios/public/provider/web",
"//ios/web",
"//ui/gfx",
+ "//url",
]
public_deps = [
"//components/dom_distiller/core",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "favicon_web_state_dispatcher_impl_unittest.mm",
+ ]
+ deps = [
+ ":dom_distiller",
+ "//base",
+ "//components/favicon/ios",
+ "//ios/chrome/browser/browser_state:test_support",
+ "//ios/testing:ios_test_support",
+ "//ios/web",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698