Index: chrome/browser/sync/test/integration/enable_disable_test.cc |
diff --git a/chrome/browser/sync/test/integration/enable_disable_test.cc b/chrome/browser/sync/test/integration/enable_disable_test.cc |
index dafcbb6a6ea84be9b731de5349413bfb1092d7e1..cce472c1907e4ea90f6f97ff5a25c09a046aea95 100644 |
--- a/chrome/browser/sync/test/integration/enable_disable_test.cc |
+++ b/chrome/browser/sync/test/integration/enable_disable_test.cc |
@@ -40,11 +40,11 @@ bool DoesTopLevelNodeExist(sync_api::UserShare* user_share, |
IN_PROC_BROWSER_TEST_F(EnableDisableSingleClientTest, EnableOneAtATime) { |
ASSERT_TRUE(SetupClients()); |
- DisableNotifications(); |
- |
// Setup sync with no enabled types. |
ASSERT_TRUE(GetClient(0)->SetupSync(syncable::ModelTypeSet())); |
+ DisableNotifications(); |
akalin
2012/01/20 22:41:51
why was this necessary? i.e. why does setting up
rlarocque
2012/01/20 23:04:56
The problem is that SetupSync() doesn't complete u
akalin
2012/01/20 23:07:24
Okay, if this is a temporary change, add a TODO to
|
+ |
const syncable::ModelTypeSet registered_types = |
GetClient(0)->service()->GetRegisteredDataTypes(); |
sync_api::UserShare* user_share = GetClient(0)->service()->GetUserShare(); |
@@ -73,11 +73,11 @@ IN_PROC_BROWSER_TEST_F(EnableDisableSingleClientTest, EnableOneAtATime) { |
IN_PROC_BROWSER_TEST_F(EnableDisableSingleClientTest, DisableOneAtATime) { |
ASSERT_TRUE(SetupClients()); |
- DisableNotifications(); |
- |
// Setup sync with no disabled types. |
ASSERT_TRUE(GetClient(0)->SetupSync()); |
+ DisableNotifications(); |
akalin
2012/01/20 22:41:51
why was this necessary?
rlarocque
2012/01/20 23:04:56
Same reasoning as above.
akalin
2012/01/20 23:07:24
add todo.
|
+ |
const syncable::ModelTypeSet registered_types = |
GetClient(0)->service()->GetRegisteredDataTypes(); |