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

Side by Side Diff: remoting/tools/gethosts.sh

Issue 3338014: Improve UI of Chromoting client UI to select available hosts. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: One more camel Created 10 years, 3 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 unified diff | Download patch
« no previous file with comments | « remoting/client/extension/popup.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Simple shell script to get list of available hosts from the Chromoting
3 # Directory API using the saved AuthToken.
4 authToken=`sed -n 2p ~/.chromotingDirectoryAuthToken`
5 url="https://www.googleapis.com/chromoting/v1/@me/hosts"
6 curl --header "Content-Type: application/json" --header "Authorization: GoogleLo gin Auth=$authToken" -L "$url"
7 echo
OLDNEW
« no previous file with comments | « remoting/client/extension/popup.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698