Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Unified Diff: sandbox/linux/services/linux_syscalls.h

Issue 298163008: Non-SFI NaCl: Allow CLOCK_SYSTEM_TRACE on Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/services/linux_syscalls.h
diff --git a/sandbox/linux/services/linux_syscalls.h b/sandbox/linux/services/linux_syscalls.h
index 77c1be8b82a0fe4aca308ca40547ebf7a008d24a..62fe35ed1f8d59e5ef2c782b8a06de0a7a4b16a6 100644
--- a/sandbox/linux/services/linux_syscalls.h
+++ b/sandbox/linux/services/linux_syscalls.h
@@ -21,5 +21,8 @@
#include "sandbox/linux/services/arm_linux_syscalls.h"
#endif
-#endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
+// A Chrome OS specific clock ID for clock_getres, clock_gettime, and
+// clock_settime. See base/time/time_posix.cc for detail.
+#define CLOCK_SYSTEM_TRACE 11
hamaji 2014/05/28 07:36:46 Not sure this is the appropriate location for this
Mark Seaborn 2014/05/28 15:24:03 Would it make sense to change base/time/time_posix
hamaji 2014/05/28 16:21:47 Sounds like a good idea. Done.
+#endif // SANDBOX_LINUX_SERVICES_LINUX_SYSCALLS_H_
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698