summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authormcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 23:37:11 +0000
committermcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 23:37:11 +0000
commit18ff3c38542bdc3186b1a8512bdc9edef69acff0 (patch)
tree4d3cc517c9621f9702b4239a5f1a9dba7463577e /ppapi
parentac2256248677c5ca7d1117c686ed7619747b1e3d (diff)
downloadchromium_src-18ff3c38542bdc3186b1a8512bdc9edef69acff0.zip
chromium_src-18ff3c38542bdc3186b1a8512bdc9edef69acff0.tar.gz
chromium_src-18ff3c38542bdc3186b1a8512bdc9edef69acff0.tar.bz2
Use native_client/src/public/ for IMC headers
The preferred way to get the header files for NaCl's IMC layer has changed. The NaClImcMsgIoVec and NaClImcMsgHdr structs now use the NaclAbi prefix. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3464 TEST= R=dmichael@chromium.org, mseaborn@chromium.org Review URL: https://chromiumcodereview.appspot.com/15793014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/native_client/DEPS1
-rw-r--r--ppapi/native_client/src/trusted/plugin/service_runtime.cc2
-rw-r--r--ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc5
-rw-r--r--ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file_test.cc5
-rw-r--r--ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file_test.cc5
-rw-r--r--ppapi/native_client/tests/nacl_browser/nameservice/pm_nameservice_test.cc5
6 files changed, 10 insertions, 13 deletions
diff --git a/ppapi/native_client/DEPS b/ppapi/native_client/DEPS
index 853cbd4..dbcded9 100644
--- a/ppapi/native_client/DEPS
+++ b/ppapi/native_client/DEPS
@@ -1,5 +1,6 @@
include_rules = [
"+native_client/src/include",
+ "+native_client/src/public",
"+native_client/src/shared/platform",
# TODO(bradnelson): Eliminate these as they are actually incorrectly rooted
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index 6c44bc4..403a9c4 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -40,6 +40,7 @@
#ifdef PostMessage
#undef PostMessage
#endif
+#include "native_client/src/public/imc_types.h"
#include "native_client/src/trusted/plugin/plugin.h"
#include "native_client/src/trusted/plugin/plugin_error.h"
#include "native_client/src/trusted/plugin/pnacl_coordinator.h"
@@ -47,7 +48,6 @@
#include "native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h"
#include "native_client/src/trusted/plugin/srpc_client.h"
#include "native_client/src/trusted/service_runtime/nacl_error_code.h"
-#include "native_client/src/trusted/service_runtime/include/sys/nacl_imc_api.h"
#include "native_client/src/trusted/validator/nacl_file_info.h"
#include "native_client/src/trusted/weak_ref/call_on_main_thread.h"
diff --git a/ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc b/ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc
index 5e35813..7362b53 100644
--- a/ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc
+++ b/ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc
@@ -21,13 +21,12 @@
#include <unistd.h>
#include "native_client/src/include/nacl_scoped_ptr.h"
+#include "native_client/src/public/imc_syscalls.h"
+#include "native_client/src/public/name_service.h"
#include "native_client/src/shared/srpc/nacl_srpc.h"
#include "native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.h"
#include "native_client/src/untrusted/nacl_ppapi_util/string_buffer.h"
-#include <sys/nacl_syscalls.h>
-#include <sys/nacl_name_service.h>
-
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/var.h"
diff --git a/ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file_test.cc b/ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file_test.cc
index 186a5eb..9a7ee9b 100644
--- a/ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file_test.cc
+++ b/ppapi/native_client/tests/nacl_browser/manifest_file/pm_manifest_file_test.cc
@@ -20,6 +20,8 @@
#include <pthread.h>
#include "native_client/src/include/nacl_base.h"
+#include "native_client/src/public/imc_syscalls.h"
+#include "native_client/src/public/name_service.h"
#include "native_client/src/shared/platform/nacl_sync.h"
#include "native_client/src/shared/platform/nacl_sync_checked.h"
#include "native_client/src/shared/platform/nacl_sync_raii.h"
@@ -32,9 +34,6 @@
#include "native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.h"
#include "native_client/src/untrusted/nacl_ppapi_util/string_buffer.h"
-#include <sys/nacl_syscalls.h>
-#include <sys/nacl_name_service.h>
-
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/var.h"
diff --git a/ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file_test.cc b/ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file_test.cc
index 3d4e4e8..b8cbe83 100644
--- a/ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file_test.cc
+++ b/ppapi/native_client/tests/nacl_browser/manifest_file/pm_pre_init_manifest_file_test.cc
@@ -20,6 +20,8 @@
#include <pthread.h>
#include "native_client/src/include/nacl_base.h"
+#include "native_client/src/public/imc_syscalls.h"
+#include "native_client/src/public/name_service.h"
#include "native_client/src/shared/platform/nacl_sync.h"
#include "native_client/src/shared/platform/nacl_sync_checked.h"
#include "native_client/src/shared/platform/nacl_sync_raii.h"
@@ -32,9 +34,6 @@
#include "native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.h"
#include "native_client/src/untrusted/nacl_ppapi_util/string_buffer.h"
-#include <sys/nacl_syscalls.h>
-#include <sys/nacl_name_service.h>
-
#include "native_client/src/shared/ppapi_proxy/ppruntime.h"
#include "ppapi/cpp/instance.h"
diff --git a/ppapi/native_client/tests/nacl_browser/nameservice/pm_nameservice_test.cc b/ppapi/native_client/tests/nacl_browser/nameservice/pm_nameservice_test.cc
index 5e35813..7362b53 100644
--- a/ppapi/native_client/tests/nacl_browser/nameservice/pm_nameservice_test.cc
+++ b/ppapi/native_client/tests/nacl_browser/nameservice/pm_nameservice_test.cc
@@ -21,13 +21,12 @@
#include <unistd.h>
#include "native_client/src/include/nacl_scoped_ptr.h"
+#include "native_client/src/public/imc_syscalls.h"
+#include "native_client/src/public/name_service.h"
#include "native_client/src/shared/srpc/nacl_srpc.h"
#include "native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.h"
#include "native_client/src/untrusted/nacl_ppapi_util/string_buffer.h"
-#include <sys/nacl_syscalls.h>
-#include <sys/nacl_name_service.h>
-
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/var.h"