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

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

Issue 10559104: sync: Process 'control' data separately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename, cleanup, fix tests Created 8 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
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.cc ('k') | sync/engine/apply_control_data_updates.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
index e456901d0e947f12b1d04715eca7efa17a1af182..e052998be1bd31671d4aefcb1a253c9d66791206 100644
--- a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
@@ -79,7 +79,7 @@ TEST_F(SyncBackendRegistrarTest, ConstructorEmpty) {
{
std::vector<csync::ModelSafeWorker*> workers;
registrar.GetWorkers(&workers);
- EXPECT_EQ(4u, workers.size());
+ EXPECT_EQ(5u, workers.size());
}
ExpectRoutingInfo(&registrar, csync::ModelSafeRoutingInfo());
ExpectHasProcessorsForTypes(registrar, ModelTypeSet());
@@ -95,12 +95,12 @@ TEST_F(SyncBackendRegistrarTest, ConstructorNonEmpty) {
{
std::vector<csync::ModelSafeWorker*> workers;
registrar.GetWorkers(&workers);
- EXPECT_EQ(4u, workers.size());
+ EXPECT_EQ(5u, workers.size());
}
{
csync::ModelSafeRoutingInfo expected_routing_info;
expected_routing_info[BOOKMARKS] = csync::GROUP_PASSIVE;
- expected_routing_info[NIGORI] = csync::GROUP_PASSIVE;
+ expected_routing_info[NIGORI] = csync::GROUP_CONTROL;
// Passwords dropped because of no password store.
ExpectRoutingInfo(&registrar, expected_routing_info);
}
@@ -120,8 +120,8 @@ TEST_F(SyncBackendRegistrarTest, ConfigureDataTypes) {
{
csync::ModelSafeRoutingInfo expected_routing_info;
expected_routing_info[BOOKMARKS] = csync::GROUP_PASSIVE;
- expected_routing_info[NIGORI] = csync::GROUP_PASSIVE;
expected_routing_info[AUTOFILL] = csync::GROUP_PASSIVE;
+ expected_routing_info[NIGORI] = csync::GROUP_CONTROL;
ExpectRoutingInfo(&registrar, expected_routing_info);
}
ExpectHasProcessorsForTypes(registrar, ModelTypeSet());
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.cc ('k') | sync/engine/apply_control_data_updates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698