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

Unified Diff: components/power/origin_power_map.cc

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/power/origin_power_map.h ('k') | components/precache/content/precache_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/power/origin_power_map.cc
diff --git a/components/power/origin_power_map.cc b/components/power/origin_power_map.cc
index 69d9fbd391f8b8fb34274ead848a571a9b1458b2..c4b895fa5398fb376746a744b705756032418207 100644
--- a/components/power/origin_power_map.cc
+++ b/components/power/origin_power_map.cc
@@ -49,7 +49,7 @@ OriginPowerMap::PercentOriginMap OriginPowerMap::GetPercentOriginMap() {
return percent_map;
}
-scoped_ptr<OriginPowerMap::Subscription>
+std::unique_ptr<OriginPowerMap::Subscription>
OriginPowerMap::AddPowerConsumptionUpdatedCallback(
const base::Closure& callback) {
return callback_list_.Add(callback);
« no previous file with comments | « components/power/origin_power_map.h ('k') | components/precache/content/precache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698