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

Unified Diff: chrome/browser/extensions/extension_navigation_observer.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: sync 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/extensions/extension_navigation_observer.cc
diff --git a/chrome/browser/extensions/extension_navigation_observer.cc b/chrome/browser/extensions/extension_navigation_observer.cc
index 22aa5e426e7586cd29ff0105f24f7ddcb28856ae..7ddc88d466e759ce2830da8eb212884e50478bae 100644
--- a/chrome/browser/extensions/extension_navigation_observer.cc
+++ b/chrome/browser/extensions/extension_navigation_observer.cc
@@ -96,7 +96,8 @@ void ExtensionNavigationObserver::InstallUIProceed() {
extension_install_prompt_.reset();
// Grant permissions, re-enable the extension, and then reload the tab.
- extension_service->GrantPermissionsAndEnableExtension(extension);
+ extension_service->GrantPermissionsAndEnableExtension(
+ extension, extension_install_prompt_->record_oauth2_grant());
nav_controller->Reload(true);
}
« no previous file with comments | « chrome/browser/extensions/extension_install_ui_default.cc ('k') | chrome/browser/extensions/extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698