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

Unified Diff: sync/syncable/directory_backing_store_unittest.cc

Issue 1082423002: [Sync] Make DirectoryBackingStore's db_ private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: sync/syncable/directory_backing_store_unittest.cc
diff --git a/sync/syncable/directory_backing_store_unittest.cc b/sync/syncable/directory_backing_store_unittest.cc
index a45a25b92d53b596cc9f93d790d1bd5817b6bdc4..470e858eb4caa563c4ba4db17bbf8e95964d0038 100644
--- a/sync/syncable/directory_backing_store_unittest.cc
+++ b/sync/syncable/directory_backing_store_unittest.cc
@@ -3162,7 +3162,7 @@ TEST_F(DirectoryBackingStoreTest, MigrateVersion76To77) {
ASSERT_FALSE(dbs->needs_column_refresh());
EXPECT_EQ(GetExpectedLegacyMetaProtoTimes(INCLUDE_DELETED_ITEMS),
- GetMetaProtoTimes(dbs->db_.get()));
+ GetMetaProtoTimes(&connection));
// Since the proto times are expected to be in a legacy format, they may not
// be compatible with ProtoTimeToTime, so we don't call ExpectTimes().
@@ -3170,7 +3170,7 @@ TEST_F(DirectoryBackingStoreTest, MigrateVersion76To77) {
ASSERT_EQ(77, dbs->GetVersion());
EXPECT_EQ(GetExpectedMetaProtoTimes(INCLUDE_DELETED_ITEMS),
- GetMetaProtoTimes(dbs->db_.get()));
+ GetMetaProtoTimes(&connection));
// Cannot actually load entries due to version 77 not having all required
// columns.
ASSERT_FALSE(dbs->needs_column_refresh());

Powered by Google App Engine
This is Rietveld 408576698