| Index: sandbox/linux/seccomp-bpf/errorcode.cc
|
| diff --git a/sandbox/linux/seccomp-bpf/errorcode.cc b/sandbox/linux/seccomp-bpf/errorcode.cc
|
| index 944581ee846432e343d1529e9b56fb947d5096a7..8154f9336bb1ad460c2bf3662611eaf5059f9a07 100644
|
| --- a/sandbox/linux/seccomp-bpf/errorcode.cc
|
| +++ b/sandbox/linux/seccomp-bpf/errorcode.cc
|
| @@ -2,11 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "sandbox/linux/seccomp-bpf/die.h"
|
| #include "sandbox/linux/seccomp-bpf/errorcode.h"
|
|
|
| +#include "sandbox/linux/seccomp-bpf/die.h"
|
| +#include "sandbox/linux/seccomp-bpf/linux_seccomp.h"
|
| +
|
| namespace sandbox {
|
|
|
| +ErrorCode::ErrorCode() : error_type_(ET_INVALID), err_(SECCOMP_RET_INVALID) {
|
| +}
|
| +
|
| ErrorCode::ErrorCode(int err) {
|
| switch (err) {
|
| case ERR_ALLOWED:
|
|
|