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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 1806253002: Added Web Share (navigator.share) experimental web API (stub). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index c945e389582606988424d09c98eee87703f3fd64..f0ab75e69edc9b635e24fb66e182856c3ab7fe7d 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -18,6 +18,7 @@
#include "content/browser/accessibility/ax_tree_id_registry.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/browser/accessibility/browser_accessibility_state_impl.h"
+#include "content/browser/ballista/ballista_service_impl.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/devtools/render_frame_devtools_agent_host.h"
@@ -1882,6 +1883,13 @@ void RenderFrameHostImpl::RegisterMojoServices() {
}
#endif
+ // TODO(mgiuca): This doesn't seem to be used (instead, the one in
Sam McNally 2016/04/01 02:51:25 https://codereview.chromium.org/1830883002/ will l
Matt Giuca 2016/04/12 06:12:21 Done.
+ // RenderProcessHostImpl).
+ // TODO(mgiuca): Only add this if #experimental-web-platform-features is
+ // enabled.
+ GetServiceRegistry()->AddService(base::Bind(
+ &BallistaServiceImpl::Create, GetProcess()->GetBrowserContext()));
+
GetContentClient()->browser()->RegisterRenderFrameMojoServices(
GetServiceRegistry(), this);
}

Powered by Google App Engine
This is Rietveld 408576698