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

Unified Diff: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix ItunesFileUtilTest 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: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
index f3f9b99be14f06fd22a7d167ffa47dc23549208a..48d394887a469eab798d2a67b8637b43b19d6d38 100644
--- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
+++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
@@ -545,13 +545,13 @@ TEST_F(MTPDeviceDelegateImplMacTest, TestDownload) {
EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND,
DownloadFile(base::FilePath("/ic:id/nonexist"),
- temp_dir_.path().Append("target")));
+ temp_dir_.GetPath().Append("target")));
EXPECT_EQ(base::File::FILE_OK,
DownloadFile(base::FilePath("/ic:id/filename"),
- temp_dir_.path().Append("target")));
+ temp_dir_.GetPath().Append("target")));
std::string contents;
- EXPECT_TRUE(base::ReadFileToString(temp_dir_.path().Append("target"),
- &contents));
+ EXPECT_TRUE(
+ base::ReadFileToString(temp_dir_.GetPath().Append("target"), &contents));
EXPECT_EQ(kTestFileContents, contents);
}

Powered by Google App Engine
This is Rietveld 408576698