5581990d78
* build: Update TypeScript to v3.3 * build: Update TypeScript, use @typescript-eslint
14 lines
614 B
JavaScript
14 lines
614 B
JavaScript
'use strict'
|
|
const { deprecate } = require('electron')
|
|
const contentTracing = process.atomBinding('content_tracing')
|
|
|
|
contentTracing.getCategories = deprecate.promisify(contentTracing.getCategories)
|
|
contentTracing.startRecording = deprecate.promisify(contentTracing.startRecording)
|
|
contentTracing.stopRecording = deprecate.promisify(contentTracing.stopRecording)
|
|
contentTracing.getTraceBufferUsage = deprecate.promisifyMultiArg(
|
|
contentTracing.getTraceBufferUsage
|
|
// convertPromiseValue: Temporarily disabled until it's used
|
|
/* (value) => [value.paths, value.bookmarks] */
|
|
)
|
|
|
|
module.exports = contentTracing
|