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 "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "chrome/browser/extensions/chrome_extension_function.h" | 9 #include "chrome/browser/extensions/chrome_extension_function.h" |
10 | 10 |
11 class PluginFinder; | |
12 | |
13 namespace content { | 11 namespace content { |
14 struct WebPluginInfo; | 12 struct WebPluginInfo; |
15 } | 13 } |
16 | 14 |
17 namespace extensions { | 15 namespace extensions { |
18 | 16 |
19 class ContentSettingsContentSettingClearFunction | 17 class ContentSettingsContentSettingClearFunction |
20 : public UIThreadExtensionFunction { | 18 : public UIThreadExtensionFunction { |
21 public: | 19 public: |
22 DECLARE_EXTENSION_FUNCTION("contentSettings.clear", CONTENTSETTINGS_CLEAR) | 20 DECLARE_EXTENSION_FUNCTION("contentSettings.clear", CONTENTSETTINGS_CLEAR) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 ContentSettingsGetResourceIdentifiers); | 67 ContentSettingsGetResourceIdentifiers); |
70 | 68 |
71 // Callback method that gets executed when |plugins| | 69 // Callback method that gets executed when |plugins| |
72 // are asynchronously fetched. | 70 // are asynchronously fetched. |
73 void OnGotPlugins(const std::vector<content::WebPluginInfo>& plugins); | 71 void OnGotPlugins(const std::vector<content::WebPluginInfo>& plugins); |
74 }; | 72 }; |
75 | 73 |
76 } // namespace extensions | 74 } // namespace extensions |
77 | 75 |
78 #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 |