summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extensions/extension_action_context_menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extensions/extension_action_context_menu.h')
-rw-r--r--chrome/browser/cocoa/extensions/extension_action_context_menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/extensions/extension_action_context_menu.h b/chrome/browser/cocoa/extensions/extension_action_context_menu.h
index 3c9e216..80e8398 100644
--- a/chrome/browser/cocoa/extensions/extension_action_context_menu.h
+++ b/chrome/browser/cocoa/extensions/extension_action_context_menu.h
@@ -28,7 +28,7 @@ class DevmodeObserver;
@interface ExtensionActionContextMenu : NSMenu {
@private
// The extension that this menu belongs to. Weak.
- Extension* extension_;
+ const Extension* extension_;
// The extension action this menu belongs to. Weak.
ExtensionAction* action_;
@@ -48,7 +48,7 @@ class DevmodeObserver;
}
// Initializes and returns a context menu for the given extension and profile.
-- (id)initWithExtension:(Extension*)extension
+- (id)initWithExtension:(const Extension*)extension
profile:(Profile*)profile
extensionAction:(ExtensionAction*)action;