blob: 059a587ba3043a5f07ab5dfec1f74e1ea2a11c00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/autofill/options_util.h"
#include "chrome/browser/autofill/personal_data_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/profile_sync_service_factory.h"
#include "components/autofill/core/browser/options_util.h"
#include "components/browser_sync/browser/profile_sync_service.h"
namespace autofill {
bool WalletIntegrationAvailableForProfile(Profile* profile) {
return WalletIntegrationAvailable(
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile),
*PersonalDataManagerFactory::GetForProfile(profile));
}
} // namespace autofill
|