Index: components/payments/core/payment_prefs.cc |
diff --git a/components/payments/core/payment_prefs.cc b/components/payments/core/payment_prefs.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..854769dad252e0527d0dbcf0c5b5cc3934d7e0b0 |
--- /dev/null |
+++ b/components/payments/core/payment_prefs.cc |
@@ -0,0 +1,18 @@ |
+// 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. |
+ |
+#include "components/payments/core/payment_prefs.h" |
+ |
+#include "components/pref_registry/pref_registry_syncable.h" |
+ |
+namespace payments { |
+ |
+const char kPaymentsFirstTransactionCompleted[] = |
+ "payments.first_transaction_completed"; |
+ |
+void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
+ registry->RegisterBooleanPref(kPaymentsFirstTransactionCompleted, false); |
+} |
+ |
+} // namespace payments |