| 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 92e6b6f91e9fdc6e1f1295811c4b2ab8f5644257..dd477c57928c155dd1f16774c723b0a7b65cbf16 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
|
|
|