| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ |
| 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/content_settings/core/common/content_settings.h" | 9 #include "components/content_settings/core/common/content_settings.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const std::string& resource, | 27 const std::string& resource, |
| 28 ContentSetting* setting, | 28 ContentSetting* setting, |
| 29 bool* is_default, | 29 bool* is_default, |
| 30 bool* is_managed); | 30 bool* is_managed); |
| 31 | 31 |
| 32 // Returns the content setting for Flash. This is the same as | 32 // Returns the content setting for Flash. This is the same as |
| 33 // |GetPluginContentSetting| but flash-specific. | 33 // |GetPluginContentSetting| but flash-specific. |
| 34 static ContentSetting GetFlashPluginContentSetting( | 34 static ContentSetting GetFlashPluginContentSetting( |
| 35 const HostContentSettingsMap* host_content_settings_map, | 35 const HostContentSettingsMap* host_content_settings_map, |
| 36 const GURL& policy_url, | 36 const GURL& policy_url, |
| 37 const GURL& plugin_url); | 37 const GURL& plugin_url, |
| 38 bool* is_managed); |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 DISALLOW_IMPLICIT_CONSTRUCTORS(PluginUtils); | 41 DISALLOW_IMPLICIT_CONSTRUCTORS(PluginUtils); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ | 44 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_UTILS_H_ |
| OLD | NEW |