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

Unified Diff: components/storage_monitor/storage_monitor_mac_unittest.mm

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/storage_monitor_mac.mm ('k') | components/storage_monitor/storage_monitor_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor_mac_unittest.mm
diff --git a/components/storage_monitor/storage_monitor_mac_unittest.mm b/components/storage_monitor/storage_monitor_mac_unittest.mm
index 1b10d178c81ebc4bcf89df13d38a23efa888b274..30bffda1adfd88e12bcb0b106dc113eee20cd10b 100644
--- a/components/storage_monitor/storage_monitor_mac_unittest.mm
+++ b/components/storage_monitor/storage_monitor_mac_unittest.mm
@@ -67,7 +67,7 @@ class StorageMonitorMacTest : public testing::Test {
protected:
content::TestBrowserThreadBundle thread_bundle_;
- scoped_ptr<MockRemovableStorageObserver> mock_storage_observer_;
+ std::unique_ptr<MockRemovableStorageObserver> mock_storage_observer_;
// Information about the disk.
std::string unique_id_;
@@ -75,7 +75,7 @@ class StorageMonitorMacTest : public testing::Test {
std::string device_id_;
StorageInfo disk_info_;
- scoped_ptr<StorageMonitorMac> monitor_;
+ std::unique_ptr<StorageMonitorMac> monitor_;
};
TEST_F(StorageMonitorMacTest, AddRemove) {
« no previous file with comments | « components/storage_monitor/storage_monitor_mac.mm ('k') | components/storage_monitor/storage_monitor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698