diff options
Diffstat (limited to 'remoting/host/signaling_connector.cc')
-rw-r--r-- | remoting/host/signaling_connector.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc index 97d0eb1..eff6221 100644 --- a/remoting/host/signaling_connector.cc +++ b/remoting/host/signaling_connector.cc @@ -6,6 +6,7 @@ #include "base/bind.h" #include "base/callback.h" +#include "google_apis/gaia/gaia_urls.h" #include "google_apis/google_api_keys.h" #include "net/url_request/url_fetcher.h" #include "net/url_request/url_request_context_getter.h" @@ -59,8 +60,9 @@ SignalingConnector::~SignalingConnector() { void SignalingConnector::EnableOAuth( scoped_ptr<OAuthCredentials> oauth_credentials) { oauth_credentials_ = oauth_credentials.Pass(); - gaia_oauth_client_.reset(new gaia::GaiaOAuthClient( - gaia::kGaiaOAuth2Url, url_request_context_getter_)); + gaia_oauth_client_.reset( + new gaia::GaiaOAuthClient(GaiaUrls::GetInstance()->oauth2_token_url(), + url_request_context_getter_)); } void SignalingConnector::OnSignalStrategyStateChange( |