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 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 | 9 |
11 namespace webkit { | 10 namespace webkit { |
12 namespace npapi { | 11 namespace npapi { |
13 class PluginGroup; | 12 class PluginGroup; |
14 } | 13 } |
15 } | 14 } |
16 | 15 |
17 namespace extensions { | 16 namespace extensions { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void OnGotPluginGroups(const std::vector<webkit::npapi::PluginGroup>& groups); | 65 void OnGotPluginGroups(const std::vector<webkit::npapi::PluginGroup>& groups); |
67 | 66 |
68 // Used to override the global plugin list in tests. | 67 // Used to override the global plugin list in tests. |
69 static void SetPluginGroupsForTesting( | 68 static void SetPluginGroupsForTesting( |
70 const std::vector<webkit::npapi::PluginGroup>* plugin_groups); | 69 const std::vector<webkit::npapi::PluginGroup>* plugin_groups); |
71 }; | 70 }; |
72 | 71 |
73 } // namespace extensions | 72 } // namespace extensions |
74 | 73 |
75 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H
__ | 74 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H
__ |
OLD | NEW |