| Index: chrome/browser/extensions/extensions_ui.h
|
| diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h
|
| index fb186fc72542c62c4430d4c9e16dd437b52ca70d..0d961a1e8360085a343449858ee06355300856f9 100644
|
| --- a/chrome/browser/extensions/extensions_ui.h
|
| +++ b/chrome/browser/extensions/extensions_ui.h
|
| @@ -32,12 +32,14 @@ class UserScript;
|
| // Information about a page running in an extension, for example a toolstrip,
|
| // a background page, or a tab contents.
|
| struct ExtensionPage {
|
| - ExtensionPage(const GURL& url, int render_process_id, int render_view_id)
|
| + ExtensionPage(const GURL& url, int render_process_id, int render_view_id,
|
| + bool incognito)
|
| : url(url), render_process_id(render_process_id),
|
| - render_view_id(render_view_id) {}
|
| + render_view_id(render_view_id), incognito(incognito) {}
|
| GURL url;
|
| int render_process_id;
|
| int render_view_id;
|
| + bool incognito;
|
| };
|
|
|
| class ExtensionsUIHTMLSource : public ChromeURLDataManager::DataSource {
|
| @@ -196,9 +198,11 @@ class ExtensionsDOMHandler
|
| const NotificationDetails& details);
|
|
|
| // Helper that lists the current active html pages for an extension.
|
| - std::vector<ExtensionPage> GetActivePagesForExtension(
|
| + std::vector<ExtensionPage> GetActivePagesForExtension(Extension* extension);
|
| + void GetActivePagesForExtensionProcess(
|
| RenderProcessHost* process,
|
| - Extension* extension);
|
| + Extension* extension,
|
| + std::vector<ExtensionPage> *result);
|
|
|
| // Returns the best icon to display in the UI for an extension, or an empty
|
| // ExtensionResource if no good icon exists.
|
|
|