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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2476343002: PaymentApp: Initial implementation for PaymentAppManager.setManifest(). (Closed)
Patch Set: fix lint error Created 4 years, 1 month 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 | « content/browser/payments/payment_app_manager.cc ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « content/browser/payments/payment_app_manager.cc ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698