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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.cc

Issue 916073004: Plugin Power Saver: Migrate ASK to BLOCK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/website_settings/website_settings_ui.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/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 037526b8325d0befa0edb549ee9bda9244dae475..5f9ff7c9f4bf888382e1a43d36c4dd577e0d1dec 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -604,10 +604,10 @@ void ContentSettingsHandler::UpdateSettingDefaultFromModel(
profile->GetHostContentSettingsMap()->GetDefaultContentSetting(
type, &provider_id);
- // For Plugins, display the obsolete ASK setting as DETECT.
+ // For Plugins, display the obsolete ASK setting as BLOCK.
if (type == ContentSettingsType::CONTENT_SETTINGS_TYPE_PLUGINS &&
default_setting == ContentSetting::CONTENT_SETTING_ASK) {
- default_setting = ContentSetting::CONTENT_SETTING_DETECT_IMPORTANT_CONTENT;
+ default_setting = ContentSetting::CONTENT_SETTING_BLOCK;
}
base::DictionaryValue filter_settings;
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698