summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authorben <ben@chromium.org>2015-11-17 20:57:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-18 04:58:34 +0000
commit3edb97198bc5fbc22c5cf13286e8af80449ddfb9 (patch)
tree2728c10bc308270956b27a8b04a080d4c14ffffb /content/renderer
parentff14aff0758577956d4704050ef3d546a9bac624 (diff)
downloadchromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.zip
chromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.tar.gz
chromium_src-3edb97198bc5fbc22c5cf13286e8af80449ddfb9.tar.bz2
Bind Application in renderer.
This involved changing how we get the client handle to the renderer. In the first iteration I was passing this on the command line but that turns out not to work with the sandbox. So instead I an approach used by the Mojo-in-Chrome MojoApplication class and pass the primordial handle via Chrome IPC. I had to twiddle a bunch of BUILD.gn files in content to get this to work without crashing due to inconsistencies in how MOJO_SHELL_CLIENT was defined. R=jam@chromium.org,tsepez@chromium.org http://crbug.com/551253 Review URL: https://codereview.chromium.org/1452823003 Cr-Commit-Position: refs/heads/master@{#360293}
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index 42da81ac..d105612 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -18,6 +18,7 @@ source_set("renderer") {
configs += [
"//content:content_implementation",
+ "//content/public/common:mojo_shell_client",
"//build/config/compiler:no_size_t_to_int_warning",
]