Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: components/power/origin_power_map.h

Issue 1921923002: Convert //components/[o-t]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | components/power/origin_power_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/plugins/renderer/webview_plugin.h ('k') | components/power/origin_power_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698