blob: 567810169d629812385acc1b66ab3d8213fdecc1 [file] [log] [blame]
From e33cb62e6f6dd46e9c942198a84391137e9071d2 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Tue, 18 Jun 2019 22:28:53 -0400
Subject: [PATCH] disable payment support by default
---
components/payments/core/payment_prefs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/payments/core/payment_prefs.cc b/components/payments/core/payment_prefs.cc
index 3196befc8c400..2caca44e2d4e7 100644
--- a/components/payments/core/payment_prefs.cc
+++ b/components/payments/core/payment_prefs.cc
@@ -16,7 +16,7 @@ const char kCanMakePaymentEnabled[] = "payments.can_make_payment_enabled";
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(kPaymentsFirstTransactionCompleted, false);
registry->RegisterBooleanPref(
- kCanMakePaymentEnabled, true,
+ kCanMakePaymentEnabled, false,
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
}