| Index: components/policy/core/common/remote_commands/remote_command_job.cc
|
| diff --git a/components/policy/core/common/remote_commands/remote_command_job.cc b/components/policy/core/common/remote_commands/remote_command_job.cc
|
| index 64f897f13a8cf62536b4ff4b9d70f8e4522d567d..fb7caacebea062d8e59863335e5520c9626f61e5 100644
|
| --- a/components/policy/core/common/remote_commands/remote_command_job.cc
|
| +++ b/components/policy/core/common/remote_commands/remote_command_job.cc
|
| @@ -115,7 +115,7 @@ bool RemoteCommandJob::IsExecutionFinished() const {
|
| return status_ == SUCCEEDED || status_ == FAILED || status_ == TERMINATED;
|
| }
|
|
|
| -scoped_ptr<std::string> RemoteCommandJob::GetResultPayload() const {
|
| +std::unique_ptr<std::string> RemoteCommandJob::GetResultPayload() const {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK(status_ == SUCCEEDED || status_ == FAILED);
|
|
|
| @@ -142,7 +142,7 @@ void RemoteCommandJob::TerminateImpl() {
|
|
|
| void RemoteCommandJob::OnCommandExecutionFinishedWithResult(
|
| bool succeeded,
|
| - scoped_ptr<RemoteCommandJob::ResultPayload> result_payload) {
|
| + std::unique_ptr<RemoteCommandJob::ResultPayload> result_payload) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK_EQ(RUNNING, status_);
|
| status_ = succeeded ? SUCCEEDED : FAILED;
|
|
|