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

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

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: remove mock code Created 3 years, 10 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/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 842aabe9d5ca12b2698080a75fc03e5471858585..2dc0049bec62199c0ff95135baf732ff43845643 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -735,8 +735,9 @@ class BrowsingHistoryPolicyHandler : public TypeCheckingPolicyHandler {
!deleting_history_allowed) {
prefs->SetBoolean(
browsing_data::prefs::kDeleteBrowsingHistory, false);
- prefs->SetBoolean(
- browsing_data::prefs::kDeleteDownloadHistory, false);
+ prefs->SetBoolean(browsing_data::prefs::kDeleteBrowsingHistoryBasic,
emaxx 2017/02/28 14:16:14 Looks like there is no actual browser test for All
dullweber 2017/03/02 10:10:00 I added a test to verify that the prefs are set co
+ false);
+ prefs->SetBoolean(browsing_data::prefs::kDeleteDownloadHistory, false);
}
}
};

Powered by Google App Engine
This is Rietveld 408576698