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

Unified Diff: remoting/webapp/me2mom/oauth2.js

Issue 7078022: Fix up remoting UI to make it closer to spec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed arrows to GT/LT signs because of Linux font issues. Created 9 years, 7 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/me2mom/main.css ('k') | remoting/webapp/me2mom/remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/oauth2.js
diff --git a/remoting/webapp/me2mom/oauth2.js b/remoting/webapp/me2mom/oauth2.js
index 9b34129338a38ed35565562b43ad3aa491f8722a..be987d7199a78632a03c875149a2ab0990aca0e4 100644
--- a/remoting/webapp/me2mom/oauth2.js
+++ b/remoting/webapp/me2mom/oauth2.js
@@ -8,6 +8,9 @@
// to copy and paste a code, but that does not support extension URL schemes
// quite yet. Instead, we currently use the native app flow with an
// authorization code that the user must cut/paste.
+
+var remoting = chrome.extension.getBackgroundPage().remoting;
+
function OAuth2() {
this.OAUTH2_REFRESH_TOKEN_NAME = 'oauth2_refresh_token';
« no previous file with comments | « remoting/webapp/me2mom/main.css ('k') | remoting/webapp/me2mom/remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698