Index: remoting/webapp/me2mom/background.html |
diff --git a/remoting/webapp/me2mom/background.html b/remoting/webapp/me2mom/background.html |
index 216f22eed4dd518327383ca5fac0f1b0f450a601..ea99e852b6e2ea306503a718460efe3251f067a5 100644 |
--- a/remoting/webapp/me2mom/background.html |
+++ b/remoting/webapp/me2mom/background.html |
@@ -5,6 +5,8 @@ Use of this source code is governed by a BSD-style license that can be |
found in the LICENSE file. |
--> |
<html> |
+ <script type="text/javascript" src="chrome_ex_oauthsimple.js"></script> |
+ <script type="text/javascript" src="chrome_ex_oauth.js"></script> |
<script type="text/javascript"> |
function setItem(key, value) { |
window.localStorage.setItem(key, value); |
@@ -15,5 +17,14 @@ found in the LICENSE file. |
function clearAll() { |
window.localStorage.clear(); |
} |
+ var oauth = ChromeExOAuth.initBackgroundPage({ |
+ 'request_url': 'https://www.google.com/accounts/OAuthGetRequestToken', |
+ 'authorize_url': 'https://www.google.com/accounts/OAuthAuthorizeToken', |
+ 'access_url': 'https://www.google.com/accounts/OAuthGetAccessToken', |
+ 'consumer_key': 'anonymous', |
+ 'consumer_secret': 'anonymous', |
+ 'scope': 'https://www.googleapis.com/auth/chromoting', |
+ 'app_name': 'Remoting WebApp' |
+ }); |
</script> |
</html> |