Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index cd16442cedd8847a2cea31118990c4955fc0d20b..19585488254674bc32aab4f40d11762bf66731fe 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -88,6 +88,7 @@ |
#include "content/browser/mime_registry_impl.h" |
#include "content/browser/notifications/notification_message_filter.h" |
#include "content/browser/notifications/platform_notification_context_impl.h" |
+#include "content/browser/payments/payment_app_manager.h" |
#include "content/browser/permissions/permission_service_context.h" |
#include "content/browser/permissions/permission_service_impl.h" |
#include "content/browser/power_monitor_message_broadcaster.h" |
@@ -1212,6 +1213,13 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
base::Unretained(permission_service_context_.get()))); |
// TODO(mcasas): finalize arguments. |
AddUIThreadInterface(registry.get(), base::Bind(&ImageCaptureImpl::Create)); |
+ |
+ AddUIThreadInterface( |
+ registry.get(), |
+ base::Bind(&PaymentAppContext::CreateService, |
+ base::Unretained( |
+ storage_partition_impl_->GetPaymentAppContext()))); |
+ |
AddUIThreadInterface( |
registry.get(), |
base::Bind(&OffscreenCanvasCompositorFrameSinkProviderImpl::Create)); |