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

Unified Diff: components/payments/core/payment_prefs.h

Issue 2876663002: [Web Payments] Add data attribution string to dialog (Closed)
Patch Set: Address comments, fix tests compile Created 3 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
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/payment_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/payment_prefs.h
diff --git a/components/payments/core/payment_prefs.h b/components/payments/core/payment_prefs.h
new file mode 100644
index 0000000000000000000000000000000000000000..1d5917ff2ac3beea22729fa36b1c06f30f912893
--- /dev/null
+++ b/components/payments/core/payment_prefs.h
@@ -0,0 +1,22 @@
+// Copyright 2017 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_PAYMENTS_CORE_PAYMENT_PREFS_H_
+#define COMPONENTS_PAYMENTS_CORE_PAYMENT_PREFS_H_
+
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
+namespace payments {
+
+// True if the profile has already successfully completed at least one payment
+// request transaction.
+extern const char kPaymentsFirstTransactionCompleted[];
+
+void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+
+} // namespace payments
+
+#endif // COMPONENTS_PAYMENTS_CORE_PAYMENT_PREFS_H_
« no previous file with comments | « components/payments/core/DEPS ('k') | components/payments/core/payment_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698