summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/extension_install_prompt2_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/extension_install_prompt2_gtk.cc')
-rw-r--r--chrome/browser/gtk/extension_install_prompt2_gtk.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/gtk/extension_install_prompt2_gtk.cc b/chrome/browser/gtk/extension_install_prompt2_gtk.cc
index 9c66c20..cf78028 100644
--- a/chrome/browser/gtk/extension_install_prompt2_gtk.cc
+++ b/chrome/browser/gtk/extension_install_prompt2_gtk.cc
@@ -53,7 +53,7 @@ void OnDialogResponse(GtkDialog* dialog, int response_id,
}
void ShowInstallPromptDialog2(GtkWindow* parent, SkBitmap* skia_icon,
- Extension* extension,
+ const Extension* extension,
ExtensionInstallUI::Delegate *delegate,
const std::vector<string16>& permissions) {
// Build the dialog.
@@ -172,7 +172,10 @@ void ShowInstallPromptDialog2(GtkWindow* parent, SkBitmap* skia_icon,
} // namespace
void ExtensionInstallUI::ShowExtensionInstallUIPrompt2Impl(
- Profile* profile, Delegate* delegate, Extension* extension, SkBitmap* icon,
+ Profile* profile,
+ Delegate* delegate,
+ const Extension* extension,
+ SkBitmap* icon,
const std::vector<string16>& permissions) {
Browser* browser = BrowserList::GetLastActiveWithProfile(profile);
if (!browser) {