diff options
author | yefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-21 03:10:33 +0000 |
---|---|---|
committer | yefim@chromium.org <yefim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-21 03:10:33 +0000 |
commit | a5e4efd40cf3894d2b5594af7d8187f221412279 (patch) | |
tree | 0db50b6e09a6897e82fe027b0c756eb6485f1a6f | |
parent | 65f0d75865cade8b2b59c5eef9986f3f45119384 (diff) | |
download | chromium_src-a5e4efd40cf3894d2b5594af7d8187f221412279.zip chromium_src-a5e4efd40cf3894d2b5594af7d8187f221412279.tar.gz chromium_src-a5e4efd40cf3894d2b5594af7d8187f221412279.tar.bz2 |
Fixed about flag not showing when experiment enabled from chrome sync
BUG=321393
Review URL: https://codereview.chromium.org/174433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252480 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/bookmarks/enhanced_bookmarks_features.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/enhanced_bookmarks_features.cc b/chrome/browser/bookmarks/enhanced_bookmarks_features.cc index 6b2bc9e..e5ab903 100644 --- a/chrome/browser/bookmarks/enhanced_bookmarks_features.cc +++ b/chrome/browser/bookmarks/enhanced_bookmarks_features.cc @@ -50,6 +50,10 @@ bool OptInIntoBookmarksExperiment() { } bool IsEnhancedBookmarksExperimentEnabled() { + CommandLine* command_line = CommandLine::ForCurrentProcess(); + if (command_line->HasSwitch(switches::kManualEnhancedBookmarks)) + return true; + std::string ext_id = GetEnhancedBookmarksExtensionIdFromFinch(); extensions::FeatureProvider* feature_provider = extensions::FeatureProvider::GetPermissionFeatures(); |