mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
more GDPR classification
This commit is contained in:
@@ -140,6 +140,11 @@ export class MainThreadEditors implements MainThreadEditorsShape {
|
||||
|
||||
$tryShowEditor(id: string, position: EditorPosition): TPromise<void> {
|
||||
// check how often this is used
|
||||
/* __GDPR__
|
||||
"api.deprecated" : {
|
||||
"function" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
|
||||
}
|
||||
*/
|
||||
this._telemetryService.publicLog('api.deprecated', { function: 'TextEditor.show' });
|
||||
|
||||
let mainThreadEditor = this._documentsAndEditors.getEditor(id);
|
||||
@@ -155,6 +160,11 @@ export class MainThreadEditors implements MainThreadEditorsShape {
|
||||
|
||||
$tryHideEditor(id: string): TPromise<void> {
|
||||
// check how often this is used
|
||||
/* __GDPR__
|
||||
"api.deprecated" : {
|
||||
"function" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
|
||||
}
|
||||
*/
|
||||
this._telemetryService.publicLog('api.deprecated', { function: 'TextEditor.hide' });
|
||||
|
||||
let mainThreadEditor = this._documentsAndEditors.getEditor(id);
|
||||
|
||||
@@ -266,6 +266,11 @@ export class SaveParticipant implements ISaveParticipant {
|
||||
});
|
||||
|
||||
return sequence(promiseFactory).then(() => {
|
||||
/* __GDPR__
|
||||
"saveParticipantStats" : {
|
||||
}
|
||||
*/
|
||||
// TODO: We need to move off dynamic property names as we can't declare them statically in the registry.
|
||||
this._telemetryService.publicLog('saveParticipantStats', stats);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user