| Index: chrome/browser/extensions/crx_installer.cc
|
| diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
|
| index d1f2a77c1f21132033696985f1e761549670cf66..db564bd6dafc98e7d582aeec152457c99f6d94dc 100644
|
| --- a/chrome/browser/extensions/crx_installer.cc
|
| +++ b/chrome/browser/extensions/crx_installer.cc
|
| @@ -124,6 +124,8 @@ CrxInstaller::CrxInstaller(
|
| expected_id_ = approval->extension_id;
|
| record_oauth2_grant_ = approval->record_oauth2_grant;
|
| }
|
| +
|
| + custom_install_dialog_callback_ = approval->custom_install_dialog_callback;
|
| }
|
|
|
| CrxInstaller::~CrxInstaller() {
|
| @@ -453,7 +455,9 @@ void CrxInstaller::ConfirmInstall() {
|
|
|
| if (client_ && (!allow_silent_install_ || !approved_)) {
|
| AddRef(); // Balanced in Proceed() and Abort().
|
| - client_->ConfirmInstall(this, extension_.get());
|
| + client_->ConfirmInstall(this,
|
| + extension_.get(),
|
| + custom_install_dialog_callback_);
|
| } else {
|
| if (!BrowserThread::PostTask(
|
| BrowserThread::FILE, FROM_HERE,
|
|
|