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

Unified Diff: components/sync/syncable/directory_backing_store_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/syncable/directory_backing_store_unittest.cc
diff --git a/components/sync/syncable/directory_backing_store_unittest.cc b/components/sync/syncable/directory_backing_store_unittest.cc
index 15781dc3e6c2594cc3d9cd3932336bbf5f6ae58e..7f45eda8218c8b437c90d4e52fa3e6550ca77866 100644
--- a/components/sync/syncable/directory_backing_store_unittest.cc
+++ b/components/sync/syncable/directory_backing_store_unittest.cc
@@ -66,7 +66,7 @@ class MigrationTest : public testing::TestWithParam<int> {
}
base::FilePath GetDatabasePath() {
- return temp_dir_.path().Append(Directory::kSyncDatabaseFilename);
+ return temp_dir_.GetPath().Append(Directory::kSyncDatabaseFilename);
}
static bool LoadAndIgnoreReturnedData(DirectoryBackingStore *dbs) {
@@ -3520,7 +3520,7 @@ TEST_F(DirectoryBackingStoreTest, MigrateVersion89To90) {
// MigrateVersionXToY. You now have a database at version Y. Let's dump it.
// 3. Set a breakpoint to stop execution just after the connection is
// destroyed. Examine temp_dir_ to find the version Y database that was
-// created on disk. E.g. (gdb) p temp_dir_.path().value().c_str()
+// created on disk. E.g. (gdb) p temp_dir_.GetPath().value().c_str()
// 4. Dump the database using the sqlite3 command line tool:
// > .output foo_dump.sql
// > .dump
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl_unittest.cc ('k') | components/sync/syncable/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698