Implemented OAuth2 support for remoting_me2me_host.
commitb8f85978f9e45f66eec6b8581b8ae54f46014da0
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 20 Mar 2012 20:08:40 +0000 (20 20:08 +0000)
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 20 Mar 2012 20:08:40 +0000 (20 20:08 +0000)
tree5fd56df69a5255519e591e2367b89d0dd3f91921
parent05454a435deac9bce39960ea21e218ebde7d17b5
Implemented OAuth2 support for remoting_me2me_host.

Note that this still doesn't allow hosts to be registered using OAuth, as that's
still the domain of the Python script.

BUG=None
TEST=Modify auth.json so that the xmpp_auth_token is your OAuth refresh token (get it from the web-apps local storage) and add the following line: "xmpp_auth_service": "oauth-refresh"

Review URL: http://codereview.chromium.org/9721008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127758 0039d316-1c4b-4281-b951-d872f2087c98
remoting/host/host_config.cc
remoting/host/host_config.h
remoting/host/oauth_client.cc
remoting/host/oauth_client.h
remoting/host/remoting_me2me_host.cc