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

Unified Diff: chrome/browser/ui/views/options/cookie_filter_page_view.cc

Issue 6534021: Implemented a policy to match the ClearSiteDataOnExit pref. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved policy description. Created 9 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/ui/gtk/options/cookie_filter_page_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/options/cookie_filter_page_view.cc
diff --git a/chrome/browser/ui/views/options/cookie_filter_page_view.cc b/chrome/browser/ui/views/options/cookie_filter_page_view.cc
index ec44bdfe5d944f454cb8fee00258d1a22dc8b2a4..de29ea386df31f84e0d04c9ec0c14cdf80c1d099 100644
--- a/chrome/browser/ui/views/options/cookie_filter_page_view.cc
+++ b/chrome/browser/ui/views/options/cookie_filter_page_view.cc
@@ -88,6 +88,8 @@ void CookieFilterPageView::NotifyPrefChanged(const std::string* pref_name) {
if (!pref_name || *pref_name == prefs::kClearSiteDataOnExit) {
clear_on_close_check_->SetChecked(
clear_site_data_on_exit_.GetValue());
+ clear_on_close_check_->SetEnabled(
+ !clear_site_data_on_exit_.IsManaged());
}
if (!pref_name || *pref_name == prefs::kBlockThirdPartyCookies) {
block_3rdparty_check_->SetChecked(
« no previous file with comments | « chrome/browser/ui/gtk/options/cookie_filter_page_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698