| Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| index 86523364d12b05943652d0dc5785a03758f2e3f4..653f4a4aa8c0230bf0efa0cc1f788b79ea97d588 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
|
| @@ -271,10 +271,12 @@ void WebstorePrivateInstallBundleFunction::OnBundleInstallCompleted() {
|
| }
|
|
|
| WebstorePrivateBeginInstallWithManifest3Function::
|
| - WebstorePrivateBeginInstallWithManifest3Function() {}
|
| + WebstorePrivateBeginInstallWithManifest3Function() {
|
| +}
|
|
|
| WebstorePrivateBeginInstallWithManifest3Function::
|
| - ~WebstorePrivateBeginInstallWithManifest3Function() {}
|
| + ~WebstorePrivateBeginInstallWithManifest3Function() {
|
| +}
|
|
|
| bool WebstorePrivateBeginInstallWithManifest3Function::RunAsync() {
|
| params_ = BeginInstallWithManifest3::Params::Create(*args_);
|
| @@ -303,6 +305,10 @@ bool WebstorePrivateBeginInstallWithManifest3Function::RunAsync() {
|
| }
|
| }
|
|
|
| + if (params_->details.authuser) {
|
| + authuser_ = *params_->details.authuser;
|
| + }
|
| +
|
| std::string icon_data = params_->details.icon_data ?
|
| *params_->details.icon_data : std::string();
|
|
|
| @@ -492,6 +498,7 @@ void WebstorePrivateBeginInstallWithManifest3Function::InstallUIProceed() {
|
| approval->skip_post_install_ui = params_->details.enable_launcher;
|
| approval->dummy_extension = dummy_extension_;
|
| approval->installing_icon = gfx::ImageSkia::CreateFrom1xBitmap(icon_);
|
| + approval->authuser = authuser_;
|
| g_pending_approvals.Get().PushApproval(approval.Pass());
|
|
|
| SetResultCode(ERROR_NONE);
|
|
|