| Index: components/policy/core/common/cloud/component_cloud_policy_updater.cc
|
| diff --git a/components/policy/core/common/cloud/component_cloud_policy_updater.cc b/components/policy/core/common/cloud/component_cloud_policy_updater.cc
|
| index cea825dd35d8ab1acd65173ae3b0f2e97a543721..69a0b57cc504a54839d0d8a1f8e4ebce66ecf51f 100644
|
| --- a/components/policy/core/common/cloud/component_cloud_policy_updater.cc
|
| +++ b/components/policy/core/common/cloud/component_cloud_policy_updater.cc
|
| @@ -37,7 +37,7 @@ const int64_t kMaxParallelPolicyDataFetches = 2;
|
|
|
| ComponentCloudPolicyUpdater::ComponentCloudPolicyUpdater(
|
| scoped_refptr<base::SequencedTaskRunner> task_runner,
|
| - scoped_ptr<ExternalPolicyDataFetcher> external_policy_data_fetcher,
|
| + std::unique_ptr<ExternalPolicyDataFetcher> external_policy_data_fetcher,
|
| ComponentCloudPolicyStore* store)
|
| : store_(store),
|
| external_policy_data_updater_(task_runner,
|
| @@ -48,7 +48,7 @@ ComponentCloudPolicyUpdater::~ComponentCloudPolicyUpdater() {
|
| }
|
|
|
| void ComponentCloudPolicyUpdater::UpdateExternalPolicy(
|
| - scoped_ptr<em::PolicyFetchResponse> response) {
|
| + std::unique_ptr<em::PolicyFetchResponse> response) {
|
| // Keep a serialized copy of |response|, to cache it later.
|
| // The policy is also rejected if it exceeds the maximum size.
|
| std::string serialized_response;
|
|
|