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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // Helper that lists the current inspectable html pages for the extension. | 165 // Helper that lists the current inspectable html pages for the extension. |
166 void GetInspectablePagesForExtensionProcess( | 166 void GetInspectablePagesForExtensionProcess( |
167 const Extension* extension, | 167 const Extension* extension, |
168 const std::set<content::RenderViewHost*>& views, | 168 const std::set<content::RenderViewHost*>& views, |
169 ItemInspectViewList* result); | 169 ItemInspectViewList* result); |
170 | 170 |
171 ItemInspectViewList GetInspectablePagesForExtension( | 171 ItemInspectViewList GetInspectablePagesForExtension( |
172 const Extension* extension, | 172 const Extension* extension, |
173 bool extension_is_enabled); | 173 bool extension_is_enabled); |
174 | 174 |
175 void GetShellWindowPagesForExtensionProfile(const Extension* extension, | 175 void GetAppWindowPagesForExtensionProfile(const Extension* extension, |
176 ItemInspectViewList* result); | 176 ItemInspectViewList* result); |
177 | 177 |
178 linked_ptr<developer::ItemInspectView> constructInspectView( | 178 linked_ptr<developer::ItemInspectView> constructInspectView( |
179 const GURL& url, | 179 const GURL& url, |
180 int render_process_id, | 180 int render_process_id, |
181 int render_view_id, | 181 int render_view_id, |
182 bool incognito, | 182 bool incognito, |
183 bool generated_background_page); | 183 bool generated_background_page); |
184 }; | 184 }; |
185 | 185 |
186 class DeveloperPrivateInspectFunction : public ChromeSyncExtensionFunction { | 186 class DeveloperPrivateInspectFunction : public ChromeSyncExtensionFunction { |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 | 452 |
453 // ExtensionFunction: | 453 // ExtensionFunction: |
454 virtual bool RunImpl() OVERRIDE; | 454 virtual bool RunImpl() OVERRIDE; |
455 }; | 455 }; |
456 | 456 |
457 } // namespace api | 457 } // namespace api |
458 | 458 |
459 } // namespace extensions | 459 } // namespace extensions |
460 | 460 |
461 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 461 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
OLD | NEW |