| Index: remoting/host/signaling_connector.cc
|
| diff --git a/remoting/host/signaling_connector.cc b/remoting/host/signaling_connector.cc
|
| index 29298f7ab274faa90b081514dd3ed414ef524558..36af6654cf34970c48d482812e6a0f695819451e 100644
|
| --- a/remoting/host/signaling_connector.cc
|
| +++ b/remoting/host/signaling_connector.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #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"
|
| @@ -61,8 +60,7 @@ void SignalingConnector::EnableOAuth(
|
| scoped_ptr<OAuthCredentials> oauth_credentials) {
|
| oauth_credentials_ = oauth_credentials.Pass();
|
| gaia_oauth_client_.reset(
|
| - new gaia::GaiaOAuthClient(GaiaUrls::GetInstance()->oauth2_token_url(),
|
| - url_request_context_getter_.get()));
|
| + new gaia::GaiaOAuthClient(url_request_context_getter_.get()));
|
| }
|
|
|
| void SignalingConnector::OnSignalStrategyStateChange(
|
| @@ -239,8 +237,10 @@ void SignalingConnector::RefreshOAuthToken() {
|
| };
|
|
|
| refreshing_oauth_token_ = true;
|
| + std::vector<std::string> empty_scope_list; // (Use scope from refresh token.)
|
| gaia_oauth_client_->RefreshToken(
|
| - client_info, oauth_credentials_->refresh_token, 1, this);
|
| + client_info, oauth_credentials_->refresh_token, empty_scope_list,
|
| + 1, this);
|
| }
|
|
|
| } // namespace remoting
|
|
|