Add options defines.

This commit is contained in:
Cheng Zhao 2014-07-31 15:12:02 +08:00
parent d993c92cea
commit 10c862f0bb

View file

@ -1 +1,7 @@
module.exports = process.atomBinding 'content_tracing'
# Mirrored from content::TracingController::Options
module.exports.DEFAULT_OPTIONS = 0
module.exports.ENABLE_SYSTRACE = 1 << 0
module.exports.ENABLE_SAMPLING = 1 << 1
module.exports.RECORD_CONTINUOUSLY = << 2