| 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 "components/autofill/browser/autofill_ie_toolbar_import_win.h" | 5 #include "components/autofill/browser/autofill_ie_toolbar_import_win.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "base/win/registry.h" | 16 #include "base/win/registry.h" |
| 17 #include "components/autofill/browser/autofill_country.h" | 17 #include "components/autofill/browser/autofill_country.h" |
| 18 #include "components/autofill/browser/autofill_profile.h" | 18 #include "components/autofill/browser/autofill_profile.h" |
| 19 #include "components/autofill/browser/credit_card.h" | 19 #include "components/autofill/browser/credit_card.h" |
| 20 #include "components/autofill/browser/crypto/rc4_decryptor.h" | 20 #include "components/autofill/browser/crypto/rc4_decryptor.h" |
| 21 #include "components/autofill/browser/field_types.h" | 21 #include "components/autofill/browser/field_types.h" |
| 22 #include "components/autofill/browser/form_group.h" | 22 #include "components/autofill/browser/form_group.h" |
| 23 #include "components/autofill/browser/personal_data_manager.h" | 23 #include "components/autofill/browser/personal_data_manager.h" |
| 24 #include "components/autofill/browser/personal_data_manager_observer.h" | 24 #include "components/autofill/browser/personal_data_manager_observer.h" |
| 25 #include "components/autofill/browser/phone_number.h" | 25 #include "components/autofill/browser/phone_number.h" |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 bool ImportAutofillDataWin(PersonalDataManager* pdm) { | 303 bool ImportAutofillDataWin(PersonalDataManager* pdm) { |
| 304 // In incognito mode we do not have PDM - and we should not import anything. | 304 // In incognito mode we do not have PDM - and we should not import anything. |
| 305 if (!pdm) | 305 if (!pdm) |
| 306 return false; | 306 return false; |
| 307 AutofillImporter *importer = new AutofillImporter(pdm); | 307 AutofillImporter *importer = new AutofillImporter(pdm); |
| 308 // importer will self delete. | 308 // importer will self delete. |
| 309 return importer->ImportProfiles(); | 309 return importer->ImportProfiles(); |
| 310 } | 310 } |
| 311 | 311 |
| 312 } // namespace autofill | 312 } // namespace autofill |
| OLD | NEW |