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

Unified Diff: chrome/browser/policy/managed_mode_policy_provider.cc

Issue 16072008: Hide web store icon from NTP for managed users (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/managed_mode_policy_provider.cc
diff --git a/chrome/browser/policy/managed_mode_policy_provider.cc b/chrome/browser/policy/managed_mode_policy_provider.cc
index 626f17bf4999f495e1e716fd8162087dfb543e70..20db957dd53d64cae11100872ee51e09ee6b3af5 100644
--- a/chrome/browser/policy/managed_mode_policy_provider.cc
+++ b/chrome/browser/policy/managed_mode_policy_provider.cc
@@ -84,13 +84,14 @@ void ManagedModePolicyProvider::InitDefaults() {
return;
DictionaryValue* dict = new DictionaryValue;
+ dict->SetBoolean(policy::key::kAllowDeletingBrowserHistory, false);
dict->SetInteger(policy::key::kContentPackDefaultFilteringBehavior,
ManagedModeURLFilter::ALLOW);
dict->SetBoolean(policy::key::kForceSafeSearch, true);
- dict->SetBoolean(policy::key::kSigninAllowed, false);
- dict->SetBoolean(policy::key::kAllowDeletingBrowserHistory, false);
+ dict->SetBoolean(policy::key::kHideWebStoreIcon, true);
dict->SetInteger(policy::key::kIncognitoModeAvailability,
IncognitoModePrefs::DISABLED);
+ dict->SetBoolean(policy::key::kSigninAllowed, false);
store_->SetValue(kPolicies, dict);
UpdatePolicyFromCache();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698