From 10c862f0bb46e6439903695745b2772e1c89f446 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 31 Jul 2014 15:12:02 +0800 Subject: [PATCH] Add options defines. --- atom/browser/api/lib/content-tracing.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/atom/browser/api/lib/content-tracing.coffee b/atom/browser/api/lib/content-tracing.coffee index 08cd36e4aa..44c23f8fc7 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