| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/sync/test/integration/autofill_helper.h" | 5 #include "chrome/browser/sync/test/integration/autofill_helper.h" |
| 6 | 6 |
| 7 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 7 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/sync/profile_sync_service.h" | 9 #include "chrome/browser/sync/profile_sync_service.h" |
| 10 #include "chrome/browser/sync/profile_sync_test_util.h" | 10 #include "chrome/browser/sync/profile_sync_test_util.h" |
| 11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
| 12 #include "chrome/browser/sync/test/integration/sync_test.h" | 12 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 13 #include "chrome/common/chrome_notification_types.h" | 13 #include "chrome/common/chrome_notification_types.h" |
| 14 #include "components/autofill/browser/autofill_common_test.h" | 14 #include "components/autofill/core/browser/autofill_common_test.h" |
| 15 #include "components/autofill/browser/autofill_profile.h" | 15 #include "components/autofill/core/browser/autofill_profile.h" |
| 16 #include "components/autofill/browser/autofill_type.h" | 16 #include "components/autofill/core/browser/autofill_type.h" |
| 17 #include "components/autofill/browser/personal_data_manager.h" | 17 #include "components/autofill/core/browser/personal_data_manager.h" |
| 18 #include "components/autofill/browser/personal_data_manager_observer.h" | 18 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
| 19 #include "components/autofill/browser/webdata/autofill_entry.h" | 19 #include "components/autofill/core/browser/webdata/autofill_entry.h" |
| 20 #include "components/autofill/browser/webdata/autofill_table.h" | 20 #include "components/autofill/core/browser/webdata/autofill_table.h" |
| 21 #include "components/autofill/browser/webdata/autofill_webdata_service.h" | 21 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 22 #include "components/autofill/core/common/form_field_data.h" | 22 #include "components/autofill/core/common/form_field_data.h" |
| 23 #include "components/webdata/common/web_database.h" | 23 #include "components/webdata/common/web_database.h" |
| 24 | 24 |
| 25 using autofill::AutofillChangeList; | 25 using autofill::AutofillChangeList; |
| 26 using autofill::AutofillEntry; | 26 using autofill::AutofillEntry; |
| 27 using autofill::AutofillKey; | 27 using autofill::AutofillKey; |
| 28 using autofill::AutofillProfile; | 28 using autofill::AutofillProfile; |
| 29 using autofill::AutofillTable; | 29 using autofill::AutofillTable; |
| 30 using autofill::AutofillType; | 30 using autofill::AutofillType; |
| 31 using autofill::AutofillWebDataService; | 31 using autofill::AutofillWebDataService; |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 if (!ProfilesMatch(0, i)) { | 350 if (!ProfilesMatch(0, i)) { |
| 351 LOG(ERROR) << "Profile " << i << "does not contain the same autofill " | 351 LOG(ERROR) << "Profile " << i << "does not contain the same autofill " |
| 352 "profiles as profile 0."; | 352 "profiles as profile 0."; |
| 353 return false; | 353 return false; |
| 354 } | 354 } |
| 355 } | 355 } |
| 356 return true; | 356 return true; |
| 357 } | 357 } |
| 358 | 358 |
| 359 } // namespace autofill_helper | 359 } // namespace autofill_helper |
| OLD | NEW |