mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
add RemoteTelemetry which implements ITelemetryService, remove AbstractRemoteTelemetryService, workerTelemetryService, extHostTelemetryService, #5219
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import {AbstractRemoteTelemetryService} from 'vs/platform/telemetry/common/abstractRemoteTelemetryService';
|
||||
|
||||
export class ExtHostTelemetryService extends AbstractRemoteTelemetryService {
|
||||
|
||||
protected handleEvent(eventName: string, data?: any): void {
|
||||
data = data || {};
|
||||
data['pluginHostTelemetry'] = true;
|
||||
super.handleEvent(eventName, data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user