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

Unified Diff: chrome/browser/ui/browser_ui_prefs.cc

Issue 11859029: Add a policy to hide the Web Store on new tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: chrome/browser/ui/browser_ui_prefs.cc
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index 6e945e41e92de550df3e6e23096748517488011b..c393fec6a77b0ddf7dde8b4bc88de4a356757dbb 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -151,6 +151,9 @@ void RegisterBrowserUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterBooleanPref(prefs::kClearPluginLSODataEnabled,
true,
PrefServiceSyncable::UNSYNCABLE_PREF);
+ prefs->RegisterBooleanPref(prefs::kHideWebStoreIcon,
+ false,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
void RegisterAppPrefs(const std::string& app_name, Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698