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

Unified Diff: content/browser/fileapi/dragged_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/dragged_file_util_unittest.cc
diff --git a/content/browser/fileapi/dragged_file_util_unittest.cc b/content/browser/fileapi/dragged_file_util_unittest.cc
index a373695aa9e565bfd59f3c5a2d137065f4da8d34..8dd5a7927976fe978d40b5ff9eabcba35253153a 100644
--- a/content/browser/fileapi/dragged_file_util_unittest.cc
+++ b/content/browser/fileapi/dragged_file_util_unittest.cc
@@ -112,8 +112,7 @@ class DraggedFileUtilTest : public testing::Test {
SimulateDropFiles();
file_system_context_ = CreateFileSystemContextForTesting(
- NULL /* quota_manager */,
- partition_dir_.path());
+ NULL /* quota_manager */, partition_dir_.GetPath());
isolated_context()->AddReference(filesystem_id_);
}
@@ -126,9 +125,7 @@ class DraggedFileUtilTest : public testing::Test {
storage::IsolatedContext* isolated_context() const {
return storage::IsolatedContext::GetInstance();
}
- const base::FilePath& root_path() const {
- return data_dir_.path();
- }
+ const base::FilePath& root_path() const { return data_dir_.GetPath(); }
FileSystemContext* file_system_context() const {
return file_system_context_.get();
}
@@ -143,7 +140,7 @@ class DraggedFileUtilTest : public testing::Test {
base::FilePath GetTestCaseLocalPath(const base::FilePath& path) {
base::FilePath relative;
- if (data_dir_.path().AppendRelativePath(path, &relative))
+ if (data_dir_.GetPath().AppendRelativePath(path, &relative))
return relative;
return path;
}

Powered by Google App Engine
This is Rietveld 408576698