| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
| 9 | 9 |
| 10 class PluginFinder; | 10 class PluginFinder; |
| 11 | 11 |
| 12 namespace webkit { | 12 namespace webkit { |
| 13 struct WebPluginInfo; | 13 struct WebPluginInfo; |
| 14 namespace npapi { | |
| 15 class PluginGroup; | |
| 16 } | |
| 17 } | 14 } |
| 18 | 15 |
| 19 namespace extensions { | 16 namespace extensions { |
| 20 | 17 |
| 21 class ClearContentSettingsFunction : public SyncExtensionFunction { | 18 class ClearContentSettingsFunction : public SyncExtensionFunction { |
| 22 public: | 19 public: |
| 23 DECLARE_EXTENSION_FUNCTION_NAME("contentSettings.clear") | 20 DECLARE_EXTENSION_FUNCTION_NAME("contentSettings.clear") |
| 24 | 21 |
| 25 protected: | 22 protected: |
| 26 virtual ~ClearContentSettingsFunction() {} | 23 virtual ~ClearContentSettingsFunction() {} |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 void OnGotPlugins(const std::vector<webkit::WebPluginInfo>& plugins); | 67 void OnGotPlugins(const std::vector<webkit::WebPluginInfo>& plugins); |
| 71 | 68 |
| 72 // Used to override the global plugin list in tests. | 69 // Used to override the global plugin list in tests. |
| 73 static void SetPluginsForTesting( | 70 static void SetPluginsForTesting( |
| 74 const std::vector<webkit::WebPluginInfo>* plugins); | 71 const std::vector<webkit::WebPluginInfo>* plugins); |
| 75 }; | 72 }; |
| 76 | 73 |
| 77 } // namespace extensions | 74 } // namespace extensions |
| 78 | 75 |
| 79 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H
__ | 76 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H
__ |
| OLD | NEW |