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

Unified Diff: device/core/mock_device_client.h

Issue 1874313002: Convert device 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 | « device/core/device_monitor_win.cc ('k') | device/hid/device_monitor_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/core/mock_device_client.h
diff --git a/device/core/mock_device_client.h b/device/core/mock_device_client.h
index e085c635ce935cd8cb4b1d03a13328afaae57749..810b8ff168a758cfd804de6a61efcfcb658bc921 100644
--- a/device/core/mock_device_client.h
+++ b/device/core/mock_device_client.h
@@ -5,7 +5,8 @@
#ifndef DEVICE_CORE_MOCK_DEVICE_CLIENT_H_
#define DEVICE_CORE_MOCK_DEVICE_CLIENT_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "device/core/device_client.h"
namespace device {
@@ -29,8 +30,8 @@ class MockDeviceClient : device::DeviceClient {
MockUsbService* usb_service();
private:
- scoped_ptr<MockHidService> hid_service_;
- scoped_ptr<MockUsbService> usb_service_;
+ std::unique_ptr<MockHidService> hid_service_;
+ std::unique_ptr<MockUsbService> usb_service_;
};
} // namespace device
« no previous file with comments | « device/core/device_monitor_win.cc ('k') | device/hid/device_monitor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698