| 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 namespace sync_driver { | 8 namespace sync_driver { |
| 9 class SyncService; | 9 class SyncService; |
| 10 } | 10 } |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 | 13 |
| 14 class PersonalDataManager; | |
| 15 | |
| 16 // Decides whether the Autofill Wallet integration is available (i.e. can be | 14 // Decides whether the Autofill Wallet integration is available (i.e. can be |
| 17 // enabled or disabled by the user). | 15 // enabled or disabled by the user). |
| 18 bool WalletIntegrationAvailable( | 16 bool WalletIntegrationAvailable(sync_driver::SyncService* sync_service); |
| 19 sync_driver::SyncService* sync_service, | |
| 20 const PersonalDataManager& personal_data_manager); | |
| 21 | 17 |
| 22 } // namespace autofill | 18 } // namespace autofill |
| 23 | 19 |
| 24 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ | 20 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_ |
| OLD | NEW |