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

Unified Diff: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc

Issue 2317023003: sync and signin: 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/sync_file_system/local/canned_syncable_file_system.cc
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
index 9d43bf3df2bcb4a6b48c654bddecc99e59fab6f3..73d9b608cf30f2fbfbc1b7aa398255a333fd2515 100644
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
@@ -240,11 +240,9 @@ void CannedSyncableFileSystem::SetUp(QuotaMode quota_mode) {
new content::MockSpecialStoragePolicy();
if (quota_mode == QUOTA_ENABLED) {
- quota_manager_ = new QuotaManager(false /* is_incognito */,
- data_dir_.path(),
- io_task_runner_.get(),
- base::ThreadTaskRunnerHandle::Get().get(),
- storage_policy.get());
+ quota_manager_ = new QuotaManager(
+ false /* is_incognito */, data_dir_.GetPath(), io_task_runner_.get(),
+ base::ThreadTaskRunnerHandle::Get().get(), storage_policy.get());
}
std::vector<std::string> additional_allowed_schemes;
@@ -263,7 +261,7 @@ void CannedSyncableFileSystem::SetUp(QuotaMode quota_mode) {
storage_policy.get(),
quota_manager_.get() ? quota_manager_->proxy() : nullptr,
std::move(additional_backends),
- std::vector<storage::URLRequestAutoMountHandler>(), data_dir_.path(),
+ std::vector<storage::URLRequestAutoMountHandler>(), data_dir_.GetPath(),
options);
is_filesystem_set_up_ = true;

Powered by Google App Engine
This is Rietveld 408576698