diff --git a/atom/browser/api/lib/content-tracing.coffee b/atom/browser/api/lib/content-tracing.coffee index 08cd36e4aa59..44c23f8fc7d7 100644 --- a/atom/browser/api/lib/content-tracing.coffee +++ b/atom/browser/api/lib/content-tracing.coffee @@ -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