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

Unified Diff: remoting/client/appengine/hostlist.html

Issue 7033042: Update the appengine code to use OAuth2 and break the gdata dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove the hardcoded localhost 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/client/appengine/chromoting_session.html ('k') | remoting/client/appengine/main.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/appengine/hostlist.html
diff --git a/remoting/client/appengine/hostlist.html b/remoting/client/appengine/hostlist.html
index 7848db0983ed6bd24f4fd8679a38cd5c17914635..10138fee742591db4a19bd5a9c00e7604127d99b 100644
--- a/remoting/client/appengine/hostlist.html
+++ b/remoting/client/appengine/hostlist.html
@@ -24,6 +24,12 @@ found in the LICENSE file.
<div id="mainview-content">
<div class="page">
<section>
+ <h3>Http Xmpp Proxy</h3>
+ <input type="text" id="http_xmpp_proxy"
+ value="https://chromoting-httpxmpp-dev.corp.google.com"
+ size="50" />
+ </section>
+ <section>
<h3>Host List</h3>
<div class="hostlist">
<list id="hostlist-div">
@@ -42,21 +48,21 @@ found in the LICENSE file.
</div>
</section>
<section>
- <h3>Chromoting Token</h3>
+ <h3>OAuth2 Token</h3>
<div>
-{% ifnotequal chromoting_token None %}
+{% if has_oauth2_tokens %}
<div>Token Authenticated</div>
<button id="subitem"
- onclick="window.location='/auth/clear_chromoting_token'">
- Clear Token
+ onclick="window.location='/auth/clear_oauth2_token'">
+ Clear Token
</button>
{% else %}
<div class="error-msg">Token Not Authenticated</div>
<button id="subitem"
- onclick="window.location='/auth/chromoting_auth'">
+ onclick="authorizeOAuth2();">
Authenticate Token
</button>
-{% endifnotequal %}
+{% endif %}
</div>
</section>
<section>
« no previous file with comments | « remoting/client/appengine/chromoting_session.html ('k') | remoting/client/appengine/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698