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

Unified Diff: chrome/browser/payments/payment_request_factory.cc

Issue 2775193004: [Payments] Have an observer for canMakePayment, for testing. (Closed)
Patch Set: addressed comments Created 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_browsertest_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/payments/payment_request_factory.cc
diff --git a/chrome/browser/payments/payment_request_factory.cc b/chrome/browser/payments/payment_request_factory.cc
index fc6c4ca29937261b5057190143be4503f75460e5..8f532f9c49b49aeb709b128d73d5934affd40d88 100644
--- a/chrome/browser/payments/payment_request_factory.cc
+++ b/chrome/browser/payments/payment_request_factory.cc
@@ -20,10 +20,11 @@ void CreatePaymentRequestForWebContents(
mojo::InterfaceRequest<payments::mojom::PaymentRequest> request) {
DCHECK(web_contents);
PaymentRequestWebContentsManager::GetOrCreateForWebContents(web_contents)
- ->CreatePaymentRequest(web_contents,
- base::MakeUnique<ChromePaymentRequestDelegate>(
- web_contents),
- std::move(request));
+ ->CreatePaymentRequest(
+ web_contents,
+ base::MakeUnique<ChromePaymentRequestDelegate>(web_contents),
+ std::move(request),
+ /*observer_for_testing=*/nullptr);
}
} // namespace payments
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/payment_request_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698