| 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 baa2dba9ccdb1cfbc85007b6cdfc3acb7e07c4d4..e1b906cb16cec0ee11e16f97407ae2a55f704571 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
|
|
|