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

Unified Diff: chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc

Issue 2318023002: //chrome/browser/chromeos: 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: chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
diff --git a/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
index 976136cc199b14c9f89671eb363f0f314b8890fa..ab2fecfa8dedb4cbe8bf7899de9b9a407007134c 100644
--- a/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
+++ b/chrome/browser/chromeos/file_manager/zip_file_creator_browsertest.cc
@@ -34,11 +34,11 @@ class ZipFileCreatorTest : public InProcessBrowserTest {
}
base::FilePath zip_archive_path() const {
- return dir_.path().AppendASCII("test.zip");
+ return dir_.GetPath().AppendASCII("test.zip");
}
base::FilePath zip_base_dir() const {
- return dir_.path().AppendASCII("files");
+ return dir_.GetPath().AppendASCII("files");
}
protected:
@@ -110,7 +110,7 @@ IN_PROC_BROWSER_TEST_F(ZipFileCreatorTest, SomeFilesZip) {
EXPECT_FALSE(entry->is_directory());
EXPECT_EQ(kRandomDataSize, entry->original_size());
- const base::FilePath out = dir_.path().AppendASCII("archived_content");
+ const base::FilePath out = dir_.GetPath().AppendASCII("archived_content");
EXPECT_TRUE(reader.ExtractCurrentEntryToFilePath(out));
EXPECT_TRUE(base::ContentsEqual(zip_base_dir().Append(kFile2), out));
} else {

Powered by Google App Engine
This is Rietveld 408576698