| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/autofill/browser/test_personal_data_manager.h" | 5 #include "components/autofill/core/browser/test_personal_data_manager.h" |
| 6 | 6 |
| 7 #include "components/autofill/browser/personal_data_manager_observer.h" | 7 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
| 8 | 8 |
| 9 namespace autofill { | 9 namespace autofill { |
| 10 | 10 |
| 11 TestPersonalDataManager::TestPersonalDataManager() | 11 TestPersonalDataManager::TestPersonalDataManager() |
| 12 : PersonalDataManager("en-US") {} | 12 : PersonalDataManager("en-US") {} |
| 13 | 13 |
| 14 TestPersonalDataManager::~TestPersonalDataManager() {} | 14 TestPersonalDataManager::~TestPersonalDataManager() {} |
| 15 | 15 |
| 16 void TestPersonalDataManager::AddTestingProfile(AutofillProfile* profile) { | 16 void TestPersonalDataManager::AddTestingProfile(AutofillProfile* profile) { |
| 17 profiles_.push_back(profile); | 17 profiles_.push_back(profile); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 GetCreditCards() const { | 33 GetCreditCards() const { |
| 34 return credit_cards_; | 34 return credit_cards_; |
| 35 } | 35 } |
| 36 | 36 |
| 37 void TestPersonalDataManager::SaveImportedProfile( | 37 void TestPersonalDataManager::SaveImportedProfile( |
| 38 const AutofillProfile& imported_profile) { | 38 const AutofillProfile& imported_profile) { |
| 39 imported_profile_ = imported_profile; | 39 imported_profile_ = imported_profile; |
| 40 } | 40 } |
| 41 | 41 |
| 42 } // namespace autofill | 42 } // namespace autofill |
| OLD | NEW |