Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3816)

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 10630021: Modify experimental identity flow to display scope descriptions and details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698