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'; |