Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: components/autofill/core/browser/options_util.h

Issue 1137513002: Autofill: Add WalletIntegrationAvailable() to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Change pointer params to const ref. Add newline. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_
7
8 class PrefService;
9
10 namespace sync_driver {
11 class SyncService;
12 }
13
14 namespace autofill {
15
16 class PersonalDataManager;
17
18 // Decides whether the Autofill Wallet integration is available (i.e. can be
19 // enabled or disabled by the user).
20 bool WalletIntegrationAvailable(
21 sync_driver::SyncService* sync_service,
22 const PrefService& pref_service,
23 const PersonalDataManager& personal_data_manager);
24
25 } // namespace autofill
26
27 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698