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

Unified Diff: components/storage_monitor/storage_monitor_mac_unittest.mm

Issue 2321453002: c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 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/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 30bffda1adfd88e12bcb0b106dc113eee20cd10b..47c091a2d666a293fe76933846767616ab386c75 100644
--- a/components/storage_monitor/storage_monitor_mac_unittest.mm
+++ b/components/storage_monitor/storage_monitor_mac_unittest.mm
@@ -123,10 +123,10 @@ TEST_F(StorageMonitorMacTest, UpdateVolumeName) {
TEST_F(StorageMonitorMacTest, DCIM) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- ASSERT_TRUE(base::CreateDirectory(
- temp_dir.path().Append(kDCIMDirectoryName)));
+ ASSERT_TRUE(
+ base::CreateDirectory(temp_dir.GetPath().Append(kDCIMDirectoryName)));
- base::FilePath mount_point = temp_dir.path();
+ base::FilePath mount_point = temp_dir.GetPath();
std::string device_id = StorageInfo::MakeDeviceId(
StorageInfo::REMOVABLE_MASS_STORAGE_WITH_DCIM, unique_id_);
StorageInfo info = CreateStorageInfo(device_id, "", mount_point, kTestSize);

Powered by Google App Engine
This is Rietveld 408576698