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

Unified Diff: content/browser/payments/payment_app_context_impl.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: content/browser/payments/payment_app_context_impl.h
diff --git a/content/browser/payments/payment_app_context_impl.h b/content/browser/payments/payment_app_context_impl.h
index 259b53daf9191c5426d233e2944bb657d26e7e3e..e6b99af05ffe9ec5dadda30598ca60006384ec9c 100644
--- a/content/browser/payments/payment_app_context_impl.h
+++ b/content/browser/payments/payment_app_context_impl.h
@@ -14,6 +14,10 @@
#include "content/browser/payments/payment_app_database.h"
#include "content/common/content_export.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace content {
class PaymentAppDatabase;
@@ -54,8 +58,8 @@ class CONTENT_EXPORT PaymentAppContextImpl
// Create a PaymentManager that is owned by this. Call on the UI
// thread.
- void CreatePaymentManager(
- mojo::InterfaceRequest<payments::mojom::PaymentManager> request);
+ void CreatePaymentManager(const service_manager::BindSourceInfo& source_info,
+ payments::mojom::PaymentManagerRequest request);
// Called by PaymentManager objects so that they can
// be deleted. Call on the IO thread.
« no previous file with comments | « content/browser/payments/payment_app_content_unittest_base.cc ('k') | content/browser/payments/payment_app_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698