Index: chrome/browser/sync/test/integration/single_client_passwords_sync_test.cc |
diff --git a/chrome/browser/sync/test/integration/single_client_passwords_sync_test.cc b/chrome/browser/sync/test/integration/single_client_passwords_sync_test.cc |
index b1652a74409fa386d53124f9e0cc2adda94a01f4..72406f6f17e9ad140894d9b7d603786c1cbe1afb 100644 |
--- a/chrome/browser/sync/test/integration/single_client_passwords_sync_test.cc |
+++ b/chrome/browser/sync/test/integration/single_client_passwords_sync_test.cc |
@@ -4,8 +4,8 @@ |
#include "base/macros.h" |
#include "chrome/browser/sync/test/integration/passwords_helper.h" |
-#include "chrome/browser/sync/test/integration/sync_integration_test_util.h" |
#include "chrome/browser/sync/test/integration/sync_test.h" |
+#include "chrome/browser/sync/test/integration/updated_progress_marker_checker.h" |
#include "components/browser_sync/profile_sync_service.h" |
#include "components/password_manager/core/browser/password_manager_test_utils.h" |
@@ -16,7 +16,6 @@ using passwords_helper::GetPasswordStore; |
using passwords_helper::GetVerifierPasswordCount; |
using passwords_helper::GetVerifierPasswordStore; |
using passwords_helper::ProfileContainsSamePasswordFormsAsVerifier; |
-using sync_integration_test_util::AwaitCommitActivityCompletion; |
using autofill::PasswordForm; |
@@ -38,7 +37,7 @@ IN_PROC_BROWSER_TEST_F(SingleClientPasswordsSyncTest, Sanity) { |
AddLogin(GetPasswordStore(0), form); |
ASSERT_EQ(1, GetPasswordCount(0)); |
- ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService(0))); |
+ ASSERT_TRUE(UpdatedProgressMarkerChecker(GetSyncService(0)).Wait()); |
ASSERT_TRUE(ProfileContainsSamePasswordFormsAsVerifier(0)); |
ASSERT_EQ(1, GetPasswordCount(0)); |
} |