Index: base/time/time.h |
diff --git a/base/time/time.h b/base/time/time.h |
index f08ba68495cd773a77d92fb19ad15807950e4f99..41d662afa6a908a513d90acaed56d58eaa58d54e 100644 |
--- a/base/time/time.h |
+++ b/base/time/time.h |
@@ -576,6 +576,14 @@ inline Time TimeDelta::operator+(Time t) const { |
class BASE_EXPORT TimeTicks { |
public: |
+ // We define this even without OS_CHROMEOS for seccomp sandbox testing. |
+#if defined(OS_LINUX) |
+ // Force definition of the system trace clock; it is a chromeos-only api |
+ // at the moment and surfacing it in the right place requires mucking |
+ // with glibc et al. |
+ static const clockid_t kClockSystemTrace = 11; |
+#endif |
+ |
TimeTicks() : ticks_(0) { |
} |