| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CORE_BROWSER_OPTIONS_UTIL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ |
| 7 | 7 |
| 8 class PrefService; | |
| 9 | |
| 10 namespace sync_driver { | 8 namespace sync_driver { |
| 11 class SyncService; | 9 class SyncService; |
| 12 } | 10 } |
| 13 | 11 |
| 14 namespace autofill { | 12 namespace autofill { |
| 15 | 13 |
| 16 class PersonalDataManager; | 14 class PersonalDataManager; |
| 17 | 15 |
| 18 // Decides whether the Autofill Wallet integration is available (i.e. can be | 16 // Decides whether the Autofill Wallet integration is available (i.e. can be |
| 19 // enabled or disabled by the user). | 17 // enabled or disabled by the user). |
| 20 bool WalletIntegrationAvailable( | 18 bool WalletIntegrationAvailable( |
| 21 sync_driver::SyncService* sync_service, | 19 sync_driver::SyncService* sync_service, |
| 22 const PrefService& pref_service, | |
| 23 const PersonalDataManager& personal_data_manager); | 20 const PersonalDataManager& personal_data_manager); |
| 24 | 21 |
| 25 } // namespace autofill | 22 } // namespace autofill |
| 26 | 23 |
| 27 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ | 24 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ |
| OLD | NEW |