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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_unittest.cc

Issue 7281017: [Sync] Add RequestCleanupDisabledTypes() method to SyncManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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/glue/sync_backend_host_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
index ec6ca67483b76ca24eb9ca28d89efb73acd40821..f9427aa4adcc4c70d4277fed1fb24f8f4f2f0b27 100644
--- a/chrome/browser/sync/glue/sync_backend_host_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_unittest.cc
@@ -124,7 +124,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_TRUE(routing_info.empty());
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_FALSE(state->deleted_type);
EXPECT_TRUE(state->added_types.none());
}
@@ -143,7 +142,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_TRUE(routing_info.empty());
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_TRUE(state->deleted_type);
EXPECT_TRUE(state->added_types.none());
}
@@ -166,7 +164,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_EQ(expected_routing_info, routing_info);
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_FALSE(state->deleted_type);
syncable::ModelTypeBitSet expected_added_types;
expected_added_types.set(syncable::BOOKMARKS);
@@ -192,7 +189,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_EQ(expected_routing_info, routing_info);
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_FALSE(state->deleted_type);
EXPECT_TRUE(state->added_types.none());
}
@@ -214,7 +210,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_EQ(expected_routing_info, routing_info);
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_TRUE(state->deleted_type);
EXPECT_TRUE(state->added_types.none());
}
@@ -235,7 +230,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_EQ(expected_routing_info, routing_info);
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_FALSE(state->deleted_type);
syncable::ModelTypeBitSet expected_added_types;
expected_added_types.set(syncable::NIGORI);
@@ -258,7 +252,6 @@ TEST_F(SyncBackendHostTest, MakePendingConfigModeState) {
EXPECT_EQ(expected_routing_info, routing_info);
EXPECT_FALSE(state->ready_task.get());
EXPECT_EQ(types, state->initial_types);
- EXPECT_TRUE(state->deleted_type);
EXPECT_TRUE(state->added_types.none());
}
« chrome/browser/sync/engine/syncapi.cc ('K') | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698