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

Unified Diff: device/usb/mojo/device_manager_impl_unittest.cc

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/usb/mojo/device_manager_impl.cc ('k') | device/usb/usb_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/device_manager_impl_unittest.cc
diff --git a/device/usb/mojo/device_manager_impl_unittest.cc b/device/usb/mojo/device_manager_impl_unittest.cc
index 1129022afd8ca8839c761a0d94446fd1ebe46021..4b49d838bf8a9100901aa6a0e817dab736cad81a 100644
--- a/device/usb/mojo/device_manager_impl_unittest.cc
+++ b/device/usb/mojo/device_manager_impl_unittest.cc
@@ -5,13 +5,14 @@
#include "device/usb/mojo/device_manager_impl.h"
#include <stddef.h>
+
+#include <memory>
#include <set>
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/thread_task_runner_handle.h"
@@ -48,7 +49,7 @@ class USBDeviceManagerImplTest : public testing::Test {
private:
MockPermissionProvider permission_provider_;
- scoped_ptr<base::MessageLoop> message_loop_;
+ std::unique_ptr<base::MessageLoop> message_loop_;
};
void ExpectDevicesAndThen(const std::set<std::string>& expected_guids,
« no previous file with comments | « device/usb/mojo/device_manager_impl.cc ('k') | device/usb/usb_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698