| Index: chrome/browser/sync/test/integration/two_client_sessions_sync_test.cc
|
| ===================================================================
|
| --- chrome/browser/sync/test/integration/two_client_sessions_sync_test.cc (revision 108905)
|
| +++ chrome/browser/sync/test/integration/two_client_sessions_sync_test.cc (working copy)
|
| @@ -160,10 +160,9 @@
|
| ASSERT_TRUE(GetClient(1)->AwaitPassphraseRequired());
|
| ASSERT_EQ(0, GetClient(1)->GetLastSessionSnapshot()->
|
| num_blocking_conflicting_updates);
|
| - // We have 6 non-blocking conflicts due to the two meta nodes (one for each
|
| - // client), the one tab node, and the six basic preference/themes/search
|
| - // engines.
|
| - ASSERT_EQ(9, GetClient(1)->GetLastSessionSnapshot()->
|
| + // We have two meta nodes (one for each client), the one tab node, plus the
|
| + // basic preference/themes/search engines items.
|
| + ASSERT_EQ(NumberOfDefaultItems() + 3, GetClient(1)->GetLastSessionSnapshot()->
|
| num_conflicting_updates); // The encrypted nodes.
|
|
|
| GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
|
| @@ -242,8 +241,8 @@
|
| ASSERT_EQ(0, GetClient(1)->GetLastSessionSnapshot()->
|
| num_blocking_conflicting_updates);
|
| // We have two non-blocking conflicts due to the two meta nodes (one for each
|
| - // client), and the 6 basic preference/themes/search engines nodes.
|
| - ASSERT_EQ(8, GetClient(1)->GetLastSessionSnapshot()->
|
| + // client), plus the basic preference/themes/search engines nodes.
|
| + ASSERT_EQ(NumberOfDefaultItems() + 2, GetClient(1)->GetLastSessionSnapshot()->
|
| num_conflicting_updates); // The encrypted nodes.
|
|
|
| // These changes are either made with the old passphrase or not encrypted at
|
| @@ -339,9 +338,9 @@
|
| ASSERT_EQ(0, GetClient(1)->GetLastSessionSnapshot()->
|
| num_blocking_conflicting_updates);
|
| // We have three non-blocking conflicts due to the two meta nodes (one for
|
| - // each client), the one tab node, and the 6 basic preference/themes/search
|
| + // each client), the one tab node, plus the basic preference/themes/search
|
| // engines nodes.
|
| - ASSERT_EQ(9, GetClient(1)->GetLastSessionSnapshot()->
|
| + ASSERT_EQ(NumberOfDefaultItems() + 3, GetClient(1)->GetLastSessionSnapshot()->
|
| num_conflicting_updates); // The encrypted nodes.
|
|
|
| GetClient(1)->service()->SetPassphrase(kValidPassphrase, true);
|
|
|