23 lines
958 B
Diff
23 lines
958 B
Diff
From 0000000000000000000000000000000000000000 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);
|
|
}
|
|
|