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

Unified Diff: chrome/browser/chromeos/power/peripheral_battery_observer.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: chrome/browser/chromeos/power/peripheral_battery_observer.h
diff --git a/chrome/browser/chromeos/power/peripheral_battery_observer.h b/chrome/browser/chromeos/power/peripheral_battery_observer.h
index 2f2fa570f581c5de9e7590bc7b926bad89a268cf..cdd29943a5a60ec06760318b5412d0044800ee99 100644
--- a/chrome/browser/chromeos/power/peripheral_battery_observer.h
+++ b/chrome/browser/chromeos/power/peripheral_battery_observer.h
@@ -94,7 +94,8 @@ class PeripheralBatteryObserver : public PowerManagerClient::Observer,
// Record the profile used when adding message center notifications.
Profile* notification_profile_;
- scoped_ptr<base::WeakPtrFactory<PeripheralBatteryObserver> > weakptr_factory_;
+ std::unique_ptr<base::WeakPtrFactory<PeripheralBatteryObserver>>
+ weakptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PeripheralBatteryObserver);
};

Powered by Google App Engine
This is Rietveld 408576698