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

Unified Diff: components/storage_monitor/test_volume_mount_watcher_win.h

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint 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 | « components/storage_monitor/test_storage_monitor.cc ('k') | components/storage_monitor/udev_util_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/test_volume_mount_watcher_win.h
diff --git a/components/storage_monitor/test_volume_mount_watcher_win.h b/components/storage_monitor/test_volume_mount_watcher_win.h
index d6aa34679e48440b227c37cedfb45012ff9fd4be..89bbeecf330e4008f6a7d4b5c7642e3d28d1c9b3 100644
--- a/components/storage_monitor/test_volume_mount_watcher_win.h
+++ b/components/storage_monitor/test_volume_mount_watcher_win.h
@@ -10,6 +10,7 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
@@ -56,7 +57,7 @@ class TestVolumeMountWatcherWin : public VolumeMountWatcherWin {
private:
std::vector<base::FilePath> devices_checked_;
- scoped_ptr<base::WaitableEvent> device_check_complete_event_;
+ std::unique_ptr<base::WaitableEvent> device_check_complete_event_;
bool attached_devices_fake_;
DISALLOW_COPY_AND_ASSIGN(TestVolumeMountWatcherWin);
« no previous file with comments | « components/storage_monitor/test_storage_monitor.cc ('k') | components/storage_monitor/udev_util_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698