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

Unified Diff: content/browser/fileapi/native_file_util_unittest.cc

Issue 2316043002: //content: 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: content/browser/fileapi/native_file_util_unittest.cc
diff --git a/content/browser/fileapi/native_file_util_unittest.cc b/content/browser/fileapi/native_file_util_unittest.cc
index 4c9b5178d5c92532a261872710ad568078e6e05f..49969e380b5c3e74ceef795b06f4f59665506362 100644
--- a/content/browser/fileapi/native_file_util_unittest.cc
+++ b/content/browser/fileapi/native_file_util_unittest.cc
@@ -28,12 +28,10 @@ class NativeFileUtilTest : public testing::Test {
void SetUp() override { ASSERT_TRUE(data_dir_.CreateUniqueTempDir()); }
protected:
- base::FilePath Path() {
- return data_dir_.path();
- }
+ base::FilePath Path() { return data_dir_.GetPath(); }
base::FilePath Path(const char* file_name) {
- return data_dir_.path().AppendASCII(file_name);
+ return data_dir_.GetPath().AppendASCII(file_name);
}
bool FileExists(const base::FilePath& path) {
« no previous file with comments | « content/browser/fileapi/local_file_util_unittest.cc ('k') | content/browser/fileapi/obfuscated_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698