]> khamidou — GitHub mirrors - electron.git/commitdiff
Add options defines.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 31 Jul 2014 07:12:02 +0000 (15:12 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 31 Jul 2014 07:12:02 +0000 (15:12 +0800)
atom/browser/api/lib/content-tracing.coffee

index 08cd36e4aa59f44db3d6bbed8a57de509600bf37..44c23f8fc7d7f0b6188433b74640e63173528cb9 100644 (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