summaryrefslogtreecommitdiffstats
path: root/components/enhanced_bookmarks/BUILD.gn
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-07-27 12:18:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-27 19:18:57 +0000
commit0f2ef35a2de53103f42a7ab62ccc07aa34481e41 (patch)
tree7e6b89bd5a67371f5ba652948ce7886782970412 /components/enhanced_bookmarks/BUILD.gn
parentf7701e71c321e821163217db2336241d240c563b (diff)
downloadchromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.zip
chromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.tar.gz
chromium_src-0f2ef35a2de53103f42a7ab62ccc07aa34481e41.tar.bz2
Componentize enhanced_bookmark_features.{h,cc}.
Enhanced bookmarks and the DOM distiller are (or will be) used on iOS and android. Move the function checking whether the features are enabled into the respective component to allow sharing the code. Move IsEnhancedBookmarksEnabled() function to the enhanced_bookmarks component with supporting switches. Move IsEnableDomDistillerSet() and IsEnableSyncArticlesSet() functions to the dom_distiller component with supporting switches. BUG=359565 Review URL: https://codereview.chromium.org/1253953002 Cr-Commit-Position: refs/heads/master@{#340526}
Diffstat (limited to 'components/enhanced_bookmarks/BUILD.gn')
-rw-r--r--components/enhanced_bookmarks/BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/enhanced_bookmarks/BUILD.gn b/components/enhanced_bookmarks/BUILD.gn
index 4a5f0fa..5498fcc 100644
--- a/components/enhanced_bookmarks/BUILD.gn
+++ b/components/enhanced_bookmarks/BUILD.gn
@@ -16,9 +16,13 @@ source_set("enhanced_bookmarks") {
"bookmark_server_cluster_service.h",
"bookmark_server_service.cc",
"bookmark_server_service.h",
+ "enhanced_bookmark_features.cc",
+ "enhanced_bookmark_features.h",
"enhanced_bookmark_model.cc",
"enhanced_bookmark_model.h",
"enhanced_bookmark_model_observer.h",
+ "enhanced_bookmark_switches.cc",
+ "enhanced_bookmark_switches.h",
"enhanced_bookmark_utils.cc",
"enhanced_bookmark_utils.h",
"image_record.cc",
@@ -45,6 +49,7 @@ source_set("enhanced_bookmarks") {
"//components/keyed_service/core",
"//components/signin/core/browser",
"//components/sync_driver",
+ "//components/variations",
"//skia",
"//sql",
"//ui/gfx",