Chromium Code Reviews| Index: components/autofill/core/browser/options_util.cc |
| diff --git a/components/autofill/core/browser/options_util.cc b/components/autofill/core/browser/options_util.cc |
| index 0f9d37f79617deeeed90c4a07eea0d509cbc1ce8..5cdae11e6d281798282d0da02111315f2761f57b 100644 |
| --- a/components/autofill/core/browser/options_util.cc |
| +++ b/components/autofill/core/browser/options_util.cc |
| @@ -4,21 +4,13 @@ |
| #include "components/autofill/core/browser/options_util.h" |
| -#include "components/autofill/core/browser/personal_data_manager.h" |
| -#include "components/autofill/core/common/autofill_pref_names.h" |
| #include "components/sync_driver/sync_service.h" |
| namespace autofill { |
| -bool WalletIntegrationAvailable( |
| - sync_driver::SyncService* sync_service, |
| - const PersonalDataManager& personal_data_manager) { |
| - if (!(sync_service && sync_service->CanSyncStart() && |
| - sync_service->GetPreferredDataTypes().Has(syncer::AUTOFILL_PROFILE))) { |
| - return false; |
| - } |
| - |
| - return personal_data_manager.IsExperimentalWalletIntegrationEnabled(); |
| +bool WalletIntegrationAvailable(sync_driver::SyncService* sync_service) { |
| + return sync_service && sync_service->CanSyncStart() && |
| + sync_service->GetPreferredDataTypes().Has(syncer::AUTOFILL_PROFILE); |
|
Evan Stade
2016/03/14 23:01:58
so why would it not have this now? users with a go
Justin Donnelly
2016/03/15 17:09:45
This indicates whether the user has the autofill s
|
| } |
| } // namespace autofill |