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

Unified Diff: chrome/browser/chromeos/policy/fake_device_cloud_policy_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/policy/fake_device_cloud_policy_manager.h
diff --git a/chrome/browser/chromeos/policy/fake_device_cloud_policy_manager.h b/chrome/browser/chromeos/policy/fake_device_cloud_policy_manager.h
index 2402a04142312d3d8a760d730fe77844963f4c44..caa6c392fd09881b63b611285a64de99b5c8d781 100644
--- a/chrome/browser/chromeos/policy/fake_device_cloud_policy_manager.h
+++ b/chrome/browser/chromeos/policy/fake_device_cloud_policy_manager.h
@@ -5,9 +5,10 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_FAKE_DEVICE_CLOUD_POLICY_MANAGER_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_FAKE_DEVICE_CLOUD_POLICY_MANAGER_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
namespace base {
@@ -21,7 +22,7 @@ class DeviceCloudPolicyStoreChromeOS;
class FakeDeviceCloudPolicyManager : public DeviceCloudPolicyManagerChromeOS {
public:
FakeDeviceCloudPolicyManager(
- scoped_ptr<DeviceCloudPolicyStoreChromeOS> store,
+ std::unique_ptr<DeviceCloudPolicyStoreChromeOS> store,
const scoped_refptr<base::SequencedTaskRunner>& task_runner);
~FakeDeviceCloudPolicyManager() override;

Powered by Google App Engine
This is Rietveld 408576698