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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/options_util.h
diff --git a/components/autofill/core/browser/options_util.h b/components/autofill/core/browser/options_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..a94fccc6f687bb4ce9f7c1c87408ff20cc48a24d
--- /dev/null
+++ b/components/autofill/core/browser/options_util.h
@@ -0,0 +1,25 @@
+// 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.
+
+#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_
+#define COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_
+
+class PrefService;
+
+namespace sync_driver {
+class SyncService;
+}
+
+namespace autofill {
Evan Stade 2015/05/07 19:59:46 nit: \n
bondd 2015/05/07 21:19:24 Done.
+class PersonalDataManager;
+
+// Decides whether the Autofill Wallet integration is available (i.e. can be
+// enabled or disabled by the user).
+bool WalletIntegrationAvailable(sync_driver::SyncService* sync_service,
+ PrefService* pref_service,
+ PersonalDataManager* personal_data_manager);
+
+} // namespace autofill
+
+#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_OPTIONS_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698