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

Unified Diff: remoting/webapp/crd/js/third_party_token_fetcher.js

Issue 687873003: Allow the background page to get an OAuth token for apps v1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« remoting/webapp/crd/js/oauth2.js ('K') | « remoting/webapp/crd/js/remoting.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/third_party_token_fetcher.js
diff --git a/remoting/webapp/crd/js/third_party_token_fetcher.js b/remoting/webapp/crd/js/third_party_token_fetcher.js
index 9c8cce1c0b061f35fc08070169f0edde5bec8526..69b5cf47ffffa55b4161410d7969dbabb4c6aaa3 100644
--- a/remoting/webapp/crd/js/third_party_token_fetcher.js
+++ b/remoting/webapp/crd/js/third_party_token_fetcher.js
@@ -41,7 +41,7 @@ remoting.ThirdPartyTokenFetcher = function(
this.tokenScope_ = scope;
this.onThirdPartyTokenFetched_ = onThirdPartyTokenFetched;
this.failFetchToken_ = function() { onThirdPartyTokenFetched('', ''); };
- this.xsrfToken_ = remoting.generateXsrfToken();
+ this.xsrfToken_ = base.generateXsrfToken();
this.tokenUrlPatterns_ = tokenUrlPatterns;
this.hostPublicKey_ = hostPublicKey;
if (chrome.identity) {
« remoting/webapp/crd/js/oauth2.js ('K') | « remoting/webapp/crd/js/remoting.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698