| Index: remoting/protocol/token_validator.h
|
| diff --git a/remoting/protocol/token_validator.h b/remoting/protocol/token_validator.h
|
| index 12af22d5f47173f3aebf38057fe83f2217f131b3..c8534fbba3bf15da57084948fe95f8d3f45175a8 100644
|
| --- a/remoting/protocol/token_validator.h
|
| +++ b/remoting/protocol/token_validator.h
|
| @@ -5,11 +5,11 @@
|
| #ifndef REMOTING_PROTOCOL_TOKEN_VALIDATOR_H_
|
| #define REMOTING_PROTOCOL_TOKEN_VALIDATOR_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/callback.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "url/gurl.h"
|
|
|
| namespace remoting {
|
| @@ -54,7 +54,7 @@ class TokenValidatorFactory
|
| public:
|
| // Creates a TokenValidator. |local_jid| and |remote_jid| are used to create
|
| // a token scope that is restricted to the current connection's JIDs.
|
| - virtual scoped_ptr<TokenValidator> CreateTokenValidator(
|
| + virtual std::unique_ptr<TokenValidator> CreateTokenValidator(
|
| const std::string& local_jid,
|
| const std::string& remote_jid) = 0;
|
|
|
|
|