summaryrefslogtreecommitdiffstats
path: root/extensions/shell/renderer
diff options
context:
space:
mode:
authormseaborn <mseaborn@chromium.org>2015-02-10 13:20:01 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-10 21:20:26 +0000
commit3cf62d9ade1564df31b3887b01df5afad745a124 (patch)
tree54636e698bf72d4e6cf0ed269ea8c88d89771906 /extensions/shell/renderer
parent8a9231d90a62da8563ea983336d5c73d0b210dd1 (diff)
downloadchromium_src-3cf62d9ade1564df31b3887b01df5afad745a124.zip
chromium_src-3cf62d9ade1564df31b3887b01df5afad745a124.tar.gz
chromium_src-3cf62d9ade1564df31b3887b01df5afad745a124.tar.bz2
NaCl cleanup: Move ppb_nacl_private.h into components/nacl/renderer/
Since PPB_NaCl_Private is both implemented and consumed in components/nacl/renderer/, there's no need for the interface to be defined in ppapi/. The fact that this is a PPAPI interface at all is just a holdover from when the code for the NaCl trusted plugin lived outside the Chromium repo. We can drop the ppb_nacl_private.idl file. Benefits: * This reduces the friction for changing ppb_nacl_private.h. It's no longer necessary to change ppb_nacl_private.idl and re-run the generator. * This removes PPB_NaCl_Private from the PPAPI shims, reducing code size. * ppb_nacl_private.h no longer has to follow the PPAPI C header style. For example, it would no longer need to define its own "struct PP_NaClFileInfo" type -- it could share a definition that's marshallable over Chrome IPC. Changes to ppb_nacl_private.h: * Add comment to explain the status of this interface. * Remove unused "*_1_0" variants of #define and typedef. BUG=239656 BUG=251460 TEST=trybots Review URL: https://codereview.chromium.org/911463003 Cr-Commit-Position: refs/heads/master@{#315641}
Diffstat (limited to 'extensions/shell/renderer')
-rw-r--r--extensions/shell/renderer/shell_content_renderer_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc
index 1085697..e39a515 100644
--- a/extensions/shell/renderer/shell_content_renderer_client.cc
+++ b/extensions/shell/renderer/shell_content_renderer_client.cc
@@ -23,8 +23,8 @@
#if !defined(DISABLE_NACL)
#include "components/nacl/common/nacl_constants.h"
#include "components/nacl/renderer/nacl_helper.h"
+#include "components/nacl/renderer/ppb_nacl_private.h"
#include "components/nacl/renderer/ppb_nacl_private_impl.h"
-#include "ppapi/c/private/ppb_nacl_private.h"
#endif
using blink::WebFrame;