| Index: remoting/host/signaling_connector.h
|
| diff --git a/remoting/host/signaling_connector.h b/remoting/host/signaling_connector.h
|
| index 4447cf48f68e693b602b964c0d0e69b903b40902..32d933e998b05b0526c0a23aa32c3edc5e819a3f 100644
|
| --- a/remoting/host/signaling_connector.h
|
| +++ b/remoting/host/signaling_connector.h
|
| @@ -39,8 +39,7 @@ class SignalingConnector
|
|
|
| // May be called immediately after the constructor to enable OAuth
|
| // access token updating.
|
| - // |oauth_token_getter| must outlive SignalingConnector.
|
| - void EnableOAuth(OAuthTokenGetter* oauth_token_getter);
|
| + void EnableOAuth(scoped_ptr<OAuthTokenGetter> oauth_token_getter);
|
|
|
| // OAuthTokenGetter callback.
|
| void OnAccessToken(OAuthTokenGetter::Status status,
|
| @@ -71,7 +70,7 @@ class SignalingConnector
|
| base::Closure auth_failed_callback_;
|
| scoped_ptr<DnsBlackholeChecker> dns_blackhole_checker_;
|
|
|
| - OAuthTokenGetter* oauth_token_getter_;
|
| + scoped_ptr<OAuthTokenGetter> oauth_token_getter_;
|
|
|
| // Number of times we tried to connect without success.
|
| int reconnect_attempts_;
|
|
|