| OLD | NEW |
| (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_ | |
| OLD | NEW |