Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
index 58ffb843a8717c9f659d95db465b0c56a9f3a3b3..93115505deb83e86a0218ad68dcc367d5f4e2527 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc |
@@ -22,7 +22,6 @@ |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/time/time.h" |
#include "build/build_config.h" |
#include "sandbox/linux/bpf_dsl/bpf_dsl.h" |
#include "sandbox/linux/bpf_dsl/seccomp_macros.h" |
@@ -303,10 +302,6 @@ ResultExpr RestrictClockID() { |
static_assert(4 == sizeof(clockid_t), "clockid_t is not 32bit"); |
const Arg<clockid_t> clockid(0); |
return If( |
-#if defined(OS_CHROMEOS) |
- // Allow the special clock for Chrome OS used by Chrome tracing. |
- clockid == base::TraceTicks::kClockSystemTrace || |
-#endif |
clockid == CLOCK_MONOTONIC || |
clockid == CLOCK_MONOTONIC_COARSE || |
clockid == CLOCK_PROCESS_CPUTIME_ID || |