summaryrefslogtreecommitdiffstats
path: root/content/ppapi_plugin
diff options
context:
space:
mode:
authorben <ben@chromium.org>2015-11-18 11:56:15 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-18 19:57:44 +0000
commit2c716f9d5ebff610641f4506c17ec81d4b89b7bb (patch)
treea0460402f7d4bf809b69e24ad8095308602b5eb7 /content/ppapi_plugin
parent97ef21ed61bb27be090f0881db69b72e68047889 (diff)
downloadchromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.zip
chromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.tar.gz
chromium_src-2c716f9d5ebff610641f4506c17ec81d4b89b7bb.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 Committed: https://crrev.com/3edb97198bc5fbc22c5cf13286e8af80449ddfb9 Cr-Commit-Position: refs/heads/master@{#360293} Review URL: https://codereview.chromium.org/1452823003 Cr-Commit-Position: refs/heads/master@{#360396}
Diffstat (limited to 'content/ppapi_plugin')
-rw-r--r--content/ppapi_plugin/BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/ppapi_plugin/BUILD.gn b/content/ppapi_plugin/BUILD.gn
index ef4dcdf..6ce967d 100644
--- a/content/ppapi_plugin/BUILD.gn
+++ b/content/ppapi_plugin/BUILD.gn
@@ -32,7 +32,10 @@ source_set("ppapi_plugin_sources") {
"ppapi_thread.h",
]
- configs += [ "//content:content_implementation" ]
+ configs += [
+ "//content:content_implementation",
+ "//content/public/common:mojo_shell_client",
+ ]
deps = [
"//base",