| Index: chrome/test/live_sync/autofill_helper.cc
|
| diff --git a/chrome/test/live_sync/autofill_helper.cc b/chrome/test/live_sync/autofill_helper.cc
|
| index 77e8bbd2ba2547d96e7af64c4b4c7c3df245b6bb..98a13184c7c86bccc00e1bdc999e9ce51cd3817b 100644
|
| --- a/chrome/test/live_sync/autofill_helper.cc
|
| +++ b/chrome/test/live_sync/autofill_helper.cc
|
| @@ -130,8 +130,7 @@ PersonalDataManager* GetPersonalDataManager(int index) {
|
| return test()->GetProfile(index)->GetPersonalDataManager();
|
| }
|
|
|
| -void AddKeys(int profile,
|
| - const std::set<AutofillKey>& keys) {
|
| +void AddKeys(int profile, const std::set<AutofillKey>& keys) {
|
| std::vector<webkit_glue::FormField> form_fields;
|
| for (std::set<AutofillKey>::const_iterator i = keys.begin();
|
| i != keys.end();
|
| @@ -246,6 +245,10 @@ int GetProfileCount(int profile) {
|
| return GetAllProfiles(profile).size();
|
| }
|
|
|
| +int GetKeyCount(int profile) {
|
| + return GetAllKeys(profile).size();
|
| +}
|
| +
|
| bool ProfilesMatch(int profile_a, int profile_b) {
|
| const std::vector<AutofillProfile*>& autofill_profiles_a =
|
| GetAllProfiles(profile_a);
|
|
|