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

Unified Diff: chrome/browser/chromeos/system/device_disabling_manager.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/system/device_disabling_manager.h
diff --git a/chrome/browser/chromeos/system/device_disabling_manager.h b/chrome/browser/chromeos/system/device_disabling_manager.h
index 3734632288e14c29afb386c2914aed63ad97d16d..c8e7ebaa7b27b3b0698cde3a7b2429ab84127a8d 100644
--- a/chrome/browser/chromeos/system/device_disabling_manager.h
+++ b/chrome/browser/chromeos/system/device_disabling_manager.h
@@ -5,11 +5,11 @@
#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_DISABLING_MANAGER_H_
#define CHROME_BROWSER_CHROMEOS_SYSTEM_DEVICE_DISABLING_MANAGER_H_
+#include <memory>
#include <string>
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
@@ -121,8 +121,10 @@ class DeviceDisablingManager {
base::ObserverList<Observer> observers_;
- scoped_ptr<CrosSettings::ObserverSubscription> device_disabled_subscription_;
- scoped_ptr<CrosSettings::ObserverSubscription> disabled_message_subscription_;
+ std::unique_ptr<CrosSettings::ObserverSubscription>
+ device_disabled_subscription_;
+ std::unique_ptr<CrosSettings::ObserverSubscription>
+ disabled_message_subscription_;
// Indicates whether the device was disabled when the cros settings were last
// read.

Powered by Google App Engine
This is Rietveld 408576698