2019-01-17 18:00:12 +00:00
|
|
|
'use strict'
|
2019-02-05 21:03:23 +00:00
|
|
|
const { deprecate } = require('electron')
|
|
|
|
const contentTracing = process.atomBinding('content_tracing')
|
2019-01-17 18:00:12 +00:00
|
|
|
|
2019-02-05 21:03:23 +00:00
|
|
|
contentTracing.startRecording = deprecate.promisify(contentTracing.startRecording)
|
|
|
|
contentTracing.stopRecording = deprecate.promisify(contentTracing.stopRecording)
|
|
|
|
contentTracing.getCategories = deprecate.promisify(contentTracing.getCategories)
|
|
|
|
|
|
|
|
module.exports = contentTracing
|