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

Unified Diff: components/drive/file_system/operation_test_base.cc

Issue 2317993003: //chrome/browser and //components A-E: 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: components/drive/file_system/operation_test_base.cc
diff --git a/components/drive/file_system/operation_test_base.cc b/components/drive/file_system/operation_test_base.cc
index e4965384ca3d15da3f497eca38dc05791800dd88..8e6955e6d4585aa34d9fb82b2fe1fe9fd6a0cabc 100644
--- a/components/drive/file_system/operation_test_base.cc
+++ b/components/drive/file_system/operation_test_base.cc
@@ -85,7 +85,7 @@ void OperationTestBase::SetUp() {
blocking_task_runner_.get()));
metadata_storage_.reset(new internal::ResourceMetadataStorage(
- temp_dir_.path(), blocking_task_runner_.get()));
+ temp_dir_.GetPath(), blocking_task_runner_.get()));
bool success = false;
base::PostTaskAndReplyWithResult(
blocking_task_runner_.get(),
@@ -97,10 +97,9 @@ void OperationTestBase::SetUp() {
ASSERT_TRUE(success);
fake_free_disk_space_getter_.reset(new FakeFreeDiskSpaceGetter);
- cache_.reset(new internal::FileCache(metadata_storage_.get(),
- temp_dir_.path(),
- blocking_task_runner_.get(),
- fake_free_disk_space_getter_.get()));
+ cache_.reset(new internal::FileCache(
+ metadata_storage_.get(), temp_dir_.GetPath(), blocking_task_runner_.get(),
+ fake_free_disk_space_getter_.get()));
success = false;
base::PostTaskAndReplyWithResult(
blocking_task_runner_.get(),
« no previous file with comments | « components/drive/file_system/operation_test_base.h ('k') | components/drive/file_system_core_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698