| Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| index 58a3aaeaf4dc4c95971b607f5c62dbb3e735f2c9..ca10c9ed20ea2ffe6905fe3c20e37ba129452ae6 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -947,7 +947,8 @@ void AppLauncherHandler::InstallUIProceed() {
|
| if (!extension)
|
| return;
|
|
|
| - extension_service_->GrantPermissionsAndEnableExtension(extension);
|
| + extension_service_->GrantPermissionsAndEnableExtension(
|
| + extension, extension_install_ui_->record_oauth2_grant());
|
|
|
| // We bounce this off the NTP so the browser can update the apps icon.
|
| // If we don't launch the app asynchronously, then the app's disabled
|
|
|