summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extensions_ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extensions_ui.h')
-rw-r--r--chrome/browser/extensions/extensions_ui.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extensions_ui.h b/chrome/browser/extensions/extensions_ui.h
index cabc5be..decdc64 100644
--- a/chrome/browser/extensions/extensions_ui.h
+++ b/chrome/browser/extensions/extensions_ui.h
@@ -106,9 +106,11 @@ class ExtensionsDOMHandler
virtual void RegisterMessages();
// Extension Detail JSON Struct for page. (static for ease of testing).
+ // Note: service can be NULL in unit tests.
static DictionaryValue* CreateExtensionDetailValue(
- const Extension *extension,
- const std::vector<ExtensionPage>&,
+ ExtensionsService* service,
+ const Extension* extension,
+ const std::vector<ExtensionPage>& pages,
bool enabled);
// ContentScript JSON Struct for page. (static for ease of testing).
@@ -143,6 +145,9 @@ class ExtensionsDOMHandler
// Callback for "enable" message.
void HandleEnableMessage(const Value* value);
+ // Callback for "enableIncognito" message.
+ void HandleEnableIncognitoMessage(const Value* value);
+
// Callback for "uninstall" message.
void HandleUninstallMessage(const Value* value);