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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl_unittest.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: components/sync/driver/glue/sync_backend_host_impl_unittest.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
index 39e66bbadea25d9aedc9084b5bd95e4d0f49110f..244167ebb8333c20f32766ab3ed3d820334cd824 100644
--- a/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl_unittest.cc
@@ -180,7 +180,7 @@ class SyncBackendHostTest : public testing::Test {
backend_.reset(new SyncBackendHostImpl(
"dummyDebugName", &sync_client_, base::ThreadTaskRunnerHandle::Get(),
nullptr, sync_prefs_->AsWeakPtr(),
- temp_dir_.path().Append(base::FilePath(kTestSyncDir))));
+ temp_dir_.GetPath().Append(base::FilePath(kTestSyncDir))));
credentials_.account_id = "user@example.com";
credentials_.email = "user@example.com";
credentials_.sync_token = "sync_token";
@@ -734,7 +734,7 @@ TEST_F(SyncBackendHostTest, DownloadControlTypesRestart) {
TEST_F(SyncBackendHostTest, TestStartupWithOldSyncData) {
const char* nonsense = "slon";
base::FilePath temp_directory =
- temp_dir_.path().Append(base::FilePath(kTestSyncDir));
+ temp_dir_.GetPath().Append(base::FilePath(kTestSyncDir));
base::FilePath sync_file = temp_directory.AppendASCII("SyncData.sqlite3");
ASSERT_TRUE(base::CreateDirectory(temp_directory));
ASSERT_NE(-1, base::WriteFile(sync_file, nonsense, strlen(nonsense)));
« no previous file with comments | « components/sync/core_impl/sync_manager_impl_unittest.cc ('k') | components/sync/syncable/directory_backing_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698