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

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: rebase and fix compilation 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
« no previous file with comments | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 037593283d61e210a3f21123a0813d9c10190183..d45468b5730a629e99bbaa234a2207fe53f31e40 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -734,8 +734,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,
+ false);
+ prefs->SetBoolean(browsing_data::prefs::kDeleteDownloadHistory, false);
}
}
};
« no previous file with comments | « chrome/browser/net/sdch_browsertest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698