electron/atom/browser/api/lib/content-tracing.coffee
2014-07-31 15:12:02 +08:00

7 lines
266 B
CoffeeScript

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