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

Unified Diff: remoting/webapp/app_remoting/js/feedback_consent.js

Issue 907203002: Switch feedback consent dialog to use oauth2_api_impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « remoting/webapp/app_remoting/html/feedback_consent.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/app_remoting/js/feedback_consent.js
diff --git a/remoting/webapp/app_remoting/js/feedback_consent.js b/remoting/webapp/app_remoting/js/feedback_consent.js
index 7bc7d3d9a199940088328271d14a29e1e2e9cec3..6691ed207f698f66c807b423eacebe987bcfae7a 100644
--- a/remoting/webapp/app_remoting/js/feedback_consent.js
+++ b/remoting/webapp/app_remoting/js/feedback_consent.js
@@ -111,7 +111,8 @@ function generateId() {
*/
function onToken(token) {
var getUserInfo = function() {
- remoting.OAuth2Api.getUserInfo(
+ var oauth2Api = new remoting.OAuth2ApiImpl();
+ oauth2Api.getUserInfo(
onUserInfo, onUserInfo.bind(null, 'unknown', 'unknown'), token);
};
if (!token) {
« no previous file with comments | « remoting/webapp/app_remoting/html/feedback_consent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698