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

Side by Side Diff: components/content_settings/core/browser/plugins_field_trial.h

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, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_H_
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_H_
7
8 #include "base/macros.h"
9 #include "components/content_settings/core/common/content_settings.h"
10 #include "components/content_settings/core/common/content_settings_types.h"
11
12 namespace content_settings {
13
14 // This class manages the Plugins field trials.
15 class PluginsFieldTrial {
16 public:
17 // Returns the effective content setting for plugins. Passes non-plugin
18 // content settings through without modification.
19 static ContentSetting EffectiveContentSetting(ContentSettingsType type,
20 ContentSetting setting);
21
22 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(PluginsFieldTrial);
24 };
25
26 } // namespace content_settings
27
28 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_H_
OLDNEW
« no previous file with comments | « components/content_settings/core/browser/BUILD.gn ('k') | components/content_settings/core/browser/plugins_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698