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

Unified Diff: chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc

Issue 2100012: Fix for bug 44624: Updating calls to AwaitMutualSyncCycleCompletion. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc
diff --git a/chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc b/chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc
index 8e96ab0dfb15dfd0023a64d1f1f31a102c41fbb7..764c67100296bf8fe7ce30cf3b620ba09534b402 100644
--- a/chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc
+++ b/chrome/test/live_sync/two_client_live_autofill_sync_unittest.cc
@@ -569,7 +569,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, ProfileSteady) {
expected_profiles.push_back(new AutoFillProfile(string16(), 0));
FillProfile(MARION, expected_profiles[1]);
AddProfile(pdm2_, *expected_profiles[1]);
- EXPECT_TRUE(client1()->AwaitMutualSyncCycleCompletion(client2()));
+ EXPECT_TRUE(client2()->AwaitMutualSyncCycleCompletion(client1()));
EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
GetAllAutoFillProfiles(pdm1_)));
@@ -593,7 +593,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, ProfileSteady) {
delete expected_profiles.front();
expected_profiles.erase(expected_profiles.begin());
RemoveProfile(pdm2_, ASCIIToUTF16("Shipping"));
- EXPECT_TRUE(client1()->AwaitMutualSyncCycleCompletion(client2()));
+ EXPECT_TRUE(client2()->AwaitMutualSyncCycleCompletion(client1()));
EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
GetAllAutoFillProfiles(pdm1_)));
@@ -618,7 +618,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveAutofillSyncTest, ProfileSteady) {
STLDeleteElements(&expected_profiles);
RemoveProfile(pdm2_, ASCIIToUTF16("Billing"));
RemoveProfile(pdm2_, ASCIIToUTF16("Billing2"));
- EXPECT_TRUE(client1()->AwaitMutualSyncCycleCompletion(client2()));
+ EXPECT_TRUE(client2()->AwaitMutualSyncCycleCompletion(client1()));
EXPECT_TRUE(CompareAutoFillProfiles(expected_profiles,
GetAllAutoFillProfiles(pdm1_)));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698