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

Unified Diff: chrome/browser/supervised_user/supervised_user_pref_store.cc

Issue 697693004: Supervised users: if history recording is off, allow incognito and deleting history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 1 month 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/supervised_user/supervised_user_pref_store.cc
diff --git a/chrome/browser/supervised_user/supervised_user_pref_store.cc b/chrome/browser/supervised_user/supervised_user_pref_store.cc
index 3f981d42b5c9a80a9aefde2afa66fc2763fab959..63f55ab638d2724187f1dac9f39f40a76914e7d9 100644
--- a/chrome/browser/supervised_user/supervised_user_pref_store.cc
+++ b/chrome/browser/supervised_user/supervised_user_pref_store.cc
@@ -26,6 +26,10 @@ struct SupervisedUserSettingsPrefMappingEntry {
SupervisedUserSettingsPrefMappingEntry kSupervisedUserSettingsPrefMapping[] = {
{
+ supervised_users::kAllowDeletingBrowserHistory,
+ prefs::kAllowDeletingBrowserHistory,
+ },
+ {
supervised_users::kContentPackDefaultFilteringBehavior,
prefs::kDefaultSupervisedUserFilteringBehavior,
},
@@ -41,6 +45,10 @@ SupervisedUserSettingsPrefMappingEntry kSupervisedUserSettingsPrefMapping[] = {
supervised_users::kForceSafeSearch, prefs::kForceSafeSearch,
},
{
+ supervised_users::kIncognitoModeAvailability,
+ prefs::kIncognitoModeAvailability,
+ },
+ {
supervised_users::kRecordHistory, prefs::kRecordHistory,
},
{

Powered by Google App Engine
This is Rietveld 408576698