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

Unified Diff: components/content_settings/core/browser/plugins_field_trial.cc

Issue 2264583003: [HBD] Map ASK to DETECT_IMPORTANT_CONTENT when PreferHtmlOverPlugins is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « components/content_settings/core/browser/plugins_field_trial.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/content_settings/core/browser/plugins_field_trial.cc
diff --git a/components/content_settings/core/browser/plugins_field_trial.cc b/components/content_settings/core/browser/plugins_field_trial.cc
deleted file mode 100644
index 874002ddbe1c52eb685fca54070f87f75d7e236a..0000000000000000000000000000000000000000
--- a/components/content_settings/core/browser/plugins_field_trial.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/content_settings/core/browser/plugins_field_trial.h"
-
-namespace content_settings {
-
-// static
-ContentSetting PluginsFieldTrial::EffectiveContentSetting(
- ContentSettingsType type,
- ContentSetting setting) {
- if (type != CONTENT_SETTINGS_TYPE_PLUGINS)
- return setting;
-
- // For Plugins, ASK is obsolete. Show as BLOCK to reflect actual behavior.
- if (setting == ContentSetting::CONTENT_SETTING_ASK)
- return ContentSetting::CONTENT_SETTING_BLOCK;
-
- return setting;
-}
-
-} // namespace content_settings
« no previous file with comments | « components/content_settings/core/browser/plugins_field_trial.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698