| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ |
| 7 | 7 |
| 8 #include "components/autofill/common/autofill_export.h" |
| 9 |
| 8 namespace autofill { | 10 namespace autofill { |
| 9 | 11 |
| 10 // This importer is here and not in chrome/browser/importer/toolbar_importer.cc | 12 // This importer is here and not in chrome/browser/importer/toolbar_importer.cc |
| 11 // because of the following: | 13 // because of the following: |
| 12 // 1. The data is not saved in profile, but rather in registry, thus it is | 14 // 1. The data is not saved in profile, but rather in registry, thus it is |
| 13 // accessed without going through toolbar front end. | 15 // accessed without going through toolbar front end. |
| 14 // 2. This applies to IE (thus Windows) toolbar only. | 16 // 2. This applies to IE (thus Windows) toolbar only. |
| 15 // 3. The functionality relevant only to and completely encapsulated in the | 17 // 3. The functionality relevant only to and completely encapsulated in the |
| 16 // autofill. | 18 // autofill. |
| 17 // 4. This is completely automated as opposed to Importers, which are explicit. | 19 // 4. This is completely automated as opposed to Importers, which are explicit. |
| 18 class PersonalDataManager; | 20 class PersonalDataManager; |
| 19 | 21 |
| 20 bool ImportAutofillDataWin(PersonalDataManager* pdm); | 22 bool AUTOFILL_EXPORT ImportAutofillDataWin(PersonalDataManager* pdm); |
| 21 | 23 |
| 22 } // namespace autofill | 24 } // namespace autofill |
| 23 | 25 |
| 24 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ | 26 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_IE_TOOLBAR_IMPORT_WIN_H_ |
| OLD | NEW |