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

Unified Diff: components/sync/syncable/syncable_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
« no previous file with comments | « components/sync/syncable/directory_backing_store_unittest.cc ('k') | components/sync/tools/sync_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/syncable_unittest.cc
diff --git a/components/sync/syncable/syncable_unittest.cc b/components/sync/syncable/syncable_unittest.cc
index 4b4e6b810cf12eb2fef6e6ed1a94c31d9ccea403..c2df5240d9df3e512c31fa48ca4951314ec38114 100644
--- a/components/sync/syncable/syncable_unittest.cc
+++ b/components/sync/syncable/syncable_unittest.cc
@@ -132,7 +132,7 @@ TEST(OnDiskSyncableDirectory, MAYBE_FailInitialWrite) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
base::FilePath file_path =
- temp_dir.path().Append(FILE_PATH_LITERAL("Test.sqlite3"));
+ temp_dir.GetPath().Append(FILE_PATH_LITERAL("Test.sqlite3"));
std::string name = "user@x.com";
NullDirectoryChangeDelegate delegate;
@@ -152,7 +152,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest {
void SetUp() override {
SyncableDirectoryTest::SetUp();
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- file_path_ = temp_dir_.path().Append(FILE_PATH_LITERAL("Test.sqlite3"));
+ file_path_ = temp_dir_.GetPath().Append(FILE_PATH_LITERAL("Test.sqlite3"));
base::DeleteFile(file_path_, false);
CreateDirectory();
}
@@ -551,7 +551,7 @@ class SyncableDirectoryManagement : public testing::Test {
TEST_F(SyncableDirectoryManagement, TestFileRelease) {
base::FilePath path =
- temp_dir_.path().Append(Directory::kSyncDatabaseFilename);
+ temp_dir_.GetPath().Append(Directory::kSyncDatabaseFilename);
{
Directory dir(new OnDiskDirectoryBackingStore("ScopeTest", path),
« no previous file with comments | « components/sync/syncable/directory_backing_store_unittest.cc ('k') | components/sync/tools/sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698