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

Unified Diff: chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js

Issue 23493021: Use webview.request in OAuth scope approval dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js
diff --git a/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js b/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js
index 1cce3bfc818728b75b4285082b9301984444a76f..7c23d38a234e328d78dea5f3679154e412f09a93 100644
--- a/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js
+++ b/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js
@@ -20,7 +20,7 @@ function loadAuthUrlAndShowWindow(url, win) {
});
// Request a customized view from GAIA.
- webview.onBeforeSendHeaders.addListener(function(details) {
+ webview.request.onBeforeSendHeaders.addListener(function(details) {
headers = details.requestHeaders || [];
headers.push({'name': 'X-Browser-View',
'value': 'embedded'});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698