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

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

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 8 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
Index: chrome/browser/payments/payment_request_factory.h
diff --git a/chrome/browser/payments/payment_request_factory.h b/chrome/browser/payments/payment_request_factory.h
index f77e1bfb3776334a564454bbd26b558a087aa35b..8188568e3a040bc2b98cb8543f79fcd4659d5bae 100644
--- a/chrome/browser/payments/payment_request_factory.h
+++ b/chrome/browser/payments/payment_request_factory.h
@@ -7,6 +7,7 @@
#include "components/payments/mojom/payment_request.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
namespace content {
class WebContents;
@@ -19,7 +20,8 @@ namespace payments {
// created.
void CreatePaymentRequestForWebContents(
content::WebContents* web_contents,
- mojo::InterfaceRequest<payments::mojom::PaymentRequest> request);
+ const service_manager::BindSourceInfo& source_info,
+ payments::mojom::PaymentRequestRequest request);
} // namespace payments

Powered by Google App Engine
This is Rietveld 408576698