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

Unified Diff: chrome/browser/chromeos/base/file_flusher_unittest.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Address comment and also remove non-trivial cases 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/base/file_flusher_unittest.cc
diff --git a/chrome/browser/chromeos/base/file_flusher_unittest.cc b/chrome/browser/chromeos/base/file_flusher_unittest.cc
index cfcff2a0787d8199d3806b5a985901bd75eff01e..4649d82e9493a7d90208075940cdac62bab6af2b 100644
--- a/chrome/browser/chromeos/base/file_flusher_unittest.cc
+++ b/chrome/browser/chromeos/base/file_flusher_unittest.cc
@@ -51,7 +51,7 @@ class FileFlusherTest : public testing::Test {
for (size_t j = 1; j <= kNumFiles; ++j) {
const std::string path = base::StringPrintf("dir%zu/file%zu", i, j);
const std::string content = base::StringPrintf("content %zu %zu", i, j);
- WriteStringToFile(temp_dir_.path().AppendASCII(path), content);
+ WriteStringToFile(temp_dir_.GetPath().AppendASCII(path), content);
}
}
}
@@ -73,7 +73,7 @@ class FileFlusherTest : public testing::Test {
if (path.IsAbsolute())
return path;
- return temp_dir_.path().Append(path);
+ return temp_dir_.GetPath().Append(path);
}
void OnFlush(const base::FilePath& path) { ++flush_counts_[path]; }
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service_unittest.cc ('k') | chrome/browser/chromeos/drive/download_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698