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_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" | 9 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" |
10 #include "chrome/browser/extensions/api/file_system/file_system_api.h" | 10 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 scoped_ptr<developer::ItemInfo> CreateItemInfo( | 144 scoped_ptr<developer::ItemInfo> CreateItemInfo( |
145 const extensions::Extension& item, | 145 const extensions::Extension& item, |
146 bool item_is_enabled); | 146 bool item_is_enabled); |
147 | 147 |
148 void GetIconsOnFileThread( | 148 void GetIconsOnFileThread( |
149 ItemInfoList item_list, | 149 ItemInfoList item_list, |
150 std::map<std::string, ExtensionResource> itemIdToIconResourceMap); | 150 std::map<std::string, ExtensionResource> itemIdToIconResourceMap); |
151 | 151 |
152 // Helper that lists the current inspectable html pages for the extension. | 152 // Helper that lists the current inspectable html pages for the extension. |
153 void GetInspectablePagesForExtensionProcess( | 153 void GetInspectablePagesForExtensionProcess( |
| 154 const Extension* extension, |
154 const std::set<content::RenderViewHost*>& views, | 155 const std::set<content::RenderViewHost*>& views, |
155 ItemInspectViewList* result); | 156 ItemInspectViewList* result); |
156 | 157 |
157 ItemInspectViewList GetInspectablePagesForExtension( | 158 ItemInspectViewList GetInspectablePagesForExtension( |
158 const extensions::Extension* extension, | 159 const extensions::Extension* extension, |
159 bool extension_is_enabled); | 160 bool extension_is_enabled); |
160 | 161 |
161 void GetShellWindowPagesForExtensionProfile( | 162 void GetShellWindowPagesForExtensionProfile( |
162 const extensions::Extension* extension, | 163 const extensions::Extension* extension, |
163 ItemInspectViewList* result); | 164 ItemInspectViewList* result); |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 | 423 |
423 void GetUnpackedExtension(const base::FilePath& path, | 424 void GetUnpackedExtension(const base::FilePath& path, |
424 const ExtensionSet* extensions); | 425 const ExtensionSet* extensions); |
425 }; | 426 }; |
426 | 427 |
427 } // namespace api | 428 } // namespace api |
428 | 429 |
429 } // namespace extensions | 430 } // namespace extensions |
430 | 431 |
431 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 432 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
OLD | NEW |