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

Unified Diff: components/storage_monitor/test_storage_monitor.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
Index: components/storage_monitor/test_storage_monitor.h
diff --git a/components/storage_monitor/test_storage_monitor.h b/components/storage_monitor/test_storage_monitor.h
index de80e0135c0b3abcd102512c4420c14205ef8b80..ec29b8c66c0d7f73fac35625cd39805dea4e4fe6 100644
--- a/components/storage_monitor/test_storage_monitor.h
+++ b/components/storage_monitor/test_storage_monitor.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_
#define COMPONENTS_STORAGE_MONITOR_TEST_STORAGE_MONITOR_H_
+#include <memory>
#include <string>
#include "build/build_config.h"
@@ -73,7 +74,7 @@ class TestStorageMonitor : public StorageMonitor {
std::vector<base::FilePath> removable_paths_;
#if defined(OS_LINUX)
- scoped_ptr<device::MediaTransferProtocolManager>
+ std::unique_ptr<device::MediaTransferProtocolManager>
media_transfer_protocol_manager_;
#endif
};
« no previous file with comments | « components/storage_monitor/storage_monitor_win_unittest.cc ('k') | components/storage_monitor/test_storage_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698