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

Unified Diff: chrome/browser/autofill/options_util.h

Issue 1020303007: Hide Autofill Wallet checkbox when not syncing autofill data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: preferred Created 5 years, 9 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: chrome/browser/autofill/options_util.h
diff --git a/chrome/browser/autofill/options_util.h b/chrome/browser/autofill/options_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..dfc2f3bbb2c833c5730a6aa8d8183351a216eb97
--- /dev/null
+++ b/chrome/browser/autofill/options_util.h
@@ -0,0 +1,18 @@
+// 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 CHROME_BROWSER_AUTOFILL_OPTIONS_UTIL_H_
+#define CHROME_BROWSER_AUTOFILL_OPTIONS_UTIL_H_
+
+class Profile;
+
+namespace autofill {
+
+// Decides whether the Autofill Wallet integration is available (i.e. can be
+// enabled or disabled by the user).
+bool WalletIntegrationAvailableForProfile(Profile* profile);
+
+} // namespace autofill
+
+#endif // CHROME_BROWSER_AUTOFILL_OPTIONS_UTIL_H_
« no previous file with comments | « chrome/browser/autofill/android/personal_data_manager_android.cc ('k') | chrome/browser/autofill/options_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698