| Index: remoting/host/security_key/security_key_message.cc
|
| diff --git a/remoting/host/security_key/security_key_message.cc b/remoting/host/security_key/security_key_message.cc
|
| index 0b8b343bfdd0c7125dbeb6086287f00809f8936e..77614bb9ba8fb7e8d179b4ba60d3a73fe64b3916 100644
|
| --- a/remoting/host/security_key/security_key_message.cc
|
| +++ b/remoting/host/security_key/security_key_message.cc
|
| @@ -5,12 +5,12 @@
|
| #include "remoting/host/security_key/security_key_message.h"
|
|
|
| #include <cstdint>
|
| +#include <memory>
|
| #include <string>
|
| #include <utility>
|
|
|
| #include "base/callback.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
|
|
| namespace {
|
|
|
| @@ -55,10 +55,10 @@ RemoteSecurityKeyMessageType SecurityKeyMessage::MessageTypeFromValue(
|
| }
|
| }
|
|
|
| -scoped_ptr<SecurityKeyMessage> SecurityKeyMessage::CreateMessageForTest(
|
| +std::unique_ptr<SecurityKeyMessage> SecurityKeyMessage::CreateMessageForTest(
|
| RemoteSecurityKeyMessageType type,
|
| const std::string& payload) {
|
| - scoped_ptr<SecurityKeyMessage> message(new SecurityKeyMessage());
|
| + std::unique_ptr<SecurityKeyMessage> message(new SecurityKeyMessage());
|
| message->type_ = type;
|
| message->payload_ = payload;
|
|
|
| @@ -84,4 +84,4 @@ bool SecurityKeyMessage::ParseMessage(const std::string& message_data) {
|
| return true;
|
| }
|
|
|
| -} // namespace remoting
|
| +} // namespace remoting
|
|
|