| Index: chrome/browser/sync/test/integration/passwords_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/passwords_helper.cc b/chrome/browser/sync/test/integration/passwords_helper.cc
|
| index 7c550a2d33149de4d445146e74df74261482db67..73a6219a066d09129c0fced405abc2beeddbdaa7 100644
|
| --- a/chrome/browser/sync/test/integration/passwords_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/passwords_helper.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/password_manager/password_form_data.h"
|
| #include "chrome/browser/password_manager/password_store.h"
|
| #include "chrome/browser/password_manager/password_store_consumer.h"
|
| +#include "chrome/browser/password_manager/password_store_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service_harness.h"
|
| @@ -116,11 +117,13 @@ void SetPassphrase(int index, const std::string& passphrase) {
|
| }
|
|
|
| PasswordStore* GetPasswordStore(int index) {
|
| - return test()->GetProfile(index)->GetPasswordStore(Profile::IMPLICIT_ACCESS);
|
| + return PasswordStoreFactory::GetForProfile(test()->GetProfile(index),
|
| + Profile::IMPLICIT_ACCESS);
|
| }
|
|
|
| PasswordStore* GetVerifierPasswordStore() {
|
| - return test()->verifier()->GetPasswordStore(Profile::IMPLICIT_ACCESS);
|
| + return PasswordStoreFactory::GetForProfile(test()->verifier(),
|
| + Profile::IMPLICIT_ACCESS);
|
| }
|
|
|
| bool ProfileContainsSamePasswordFormsAsVerifier(int index) {
|
|
|