| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index 8f4ddf747292dd0c012f0648052815b535cf7e7a..c7d885948b13f53b831d7decdaf3e36fe3487065 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -311,8 +311,9 @@ class HostProcess
|
| new XmppSignalStrategy(context_->jingle_thread(), xmpp_login_,
|
| xmpp_auth_token_, xmpp_auth_service_));
|
|
|
| - signaling_connector_.reset(
|
| - new SignalingConnector(signal_strategy_.get()));
|
| + signaling_connector_.reset(new SignalingConnector(
|
| + signal_strategy_.get(),
|
| + base::Bind(&HostProcess::OnAuthFailed, base::Unretained(this))));
|
|
|
| if (!oauth_refresh_token_.empty()) {
|
| OAuthClientInfo client_info = {
|
| @@ -336,7 +337,6 @@ class HostProcess
|
| xmpp_login_, oauth_refresh_token_, client_info));
|
| signaling_connector_->EnableOAuth(
|
| oauth_credentials.Pass(),
|
| - base::Bind(&HostProcess::OnOAuthFailed, base::Unretained(this)),
|
| context_->url_request_context_getter());
|
| }
|
| }
|
| @@ -371,7 +371,7 @@ class HostProcess
|
| CreateAuthenticatorFactory();
|
| }
|
|
|
| - void OnOAuthFailed() {
|
| + void OnAuthFailed() {
|
| Shutdown(kInvalidOauthCredentialsExitCode);
|
| }
|
|
|
|
|