| Index: components/power/origin_power_map.h
|
| diff --git a/components/power/origin_power_map.h b/components/power/origin_power_map.h
|
| index c02b2b4a844b2612fde1af273c10b32a19951ea2..514e5b28400e9a3aec4ff9bfd7a7a68c821974a4 100644
|
| --- a/components/power/origin_power_map.h
|
| +++ b/components/power/origin_power_map.h
|
| @@ -6,10 +6,10 @@
|
| #define COMPONENTS_POWER_ORIGIN_POWER_MAP_H_
|
|
|
| #include <map>
|
| +#include <memory>
|
|
|
| #include "base/callback_list.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -38,7 +38,7 @@ class OriginPowerMap : public KeyedService {
|
| PercentOriginMap GetPercentOriginMap();
|
|
|
| // Adds a callback for the completion of a round of updates to |origin_map_|.
|
| - scoped_ptr<Subscription> AddPowerConsumptionUpdatedCallback(
|
| + std::unique_ptr<Subscription> AddPowerConsumptionUpdatedCallback(
|
| const base::Closure& callback);
|
|
|
| // Notifies observers to let them know that the origin power map has finished
|
|
|