diff options
author | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-10 00:50:52 +0000 |
---|---|---|
committer | jln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-10 00:50:52 +0000 |
commit | 5cb3f9b78af0bab5bd6b06a1c215a3dcdefb58b7 (patch) | |
tree | 14c64422356408a9be51247956f4515bce15cda1 | |
parent | 46c7695f9bdd71d02e74ffc84478a48ccff79436 (diff) | |
download | chromium_src-5cb3f9b78af0bab5bd6b06a1c215a3dcdefb58b7.zip chromium_src-5cb3f9b78af0bab5bd6b06a1c215a3dcdefb58b7.tar.gz chromium_src-5cb3f9b78af0bab5bd6b06a1c215a3dcdefb58b7.tar.bz2 |
Linux Sandbox: forward declare Errorcode in sandbox_bpf_policy_forward.h
sandbox_bpf_policy_forward.h can forward declare ErrorCode. This should fix
a Chromium on MIPS compilation issue.
BUG=130022
NOTRY=true
R=markus@chromium.org
Review URL: https://codereview.chromium.org/18943004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210691 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/common/sandbox_seccomp_bpf_linux.h | 2 | ||||
-rw-r--r-- | sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/content/common/sandbox_seccomp_bpf_linux.h b/content/common/sandbox_seccomp_bpf_linux.h index 16a120e..6ad6c0f 100644 --- a/content/common/sandbox_seccomp_bpf_linux.h +++ b/content/common/sandbox_seccomp_bpf_linux.h @@ -5,6 +5,8 @@ #ifndef CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ #define CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ +#include <string> + #include "base/basictypes.h" #include "sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h" diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h b/sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h index 673ebe6..afc9d87 100644 --- a/sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h +++ b/sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h @@ -6,12 +6,12 @@ #define SANDBOX_LINUX_SECCOMP_BPF_SANDBOX_BPF_POLICY_FORWARD_H_ #include "base/callback_forward.h" -#include "sandbox/linux/seccomp-bpf/errorcode.h" namespace playground2 { class Sandbox; -typedef playground2::ErrorCode BpfSandboxPolicy( +class ErrorCode; +typedef ErrorCode BpfSandboxPolicy( Sandbox* sandbox_compiler, int system_call_number, void* aux); |