提交 48282551 编写于 作者: C Christof Marti

Fix GDPR comments

上级 d150c48f
...@@ -66,7 +66,7 @@ export class LogAppender implements ITelemetryAppender { ...@@ -66,7 +66,7 @@ export class LogAppender implements ITelemetryAppender {
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"URIDescriptor" : { "URIDescriptor" : {
"mimeType" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "mimeType" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"scheme": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },, "scheme": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"ext": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "ext": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"path": { "classification": "SystemMetaData", "purpose": "FeatureInsight" } "path": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
} }
......
...@@ -699,14 +699,14 @@ export class WorkspaceStats implements IWorkbenchContribution { ...@@ -699,14 +699,14 @@ export class WorkspaceStats implements IWorkbenchContribution {
} }
private reportProxyStats() { private reportProxyStats() {
this.windowService.resolveProxy('http://www.example.com/') this.windowService.resolveProxy('https://www.example.com/')
.then(proxy => { .then(proxy => {
let type = String(proxy).trim().split(/\s+/, 1)[0]; let type = String(proxy).trim().split(/\s+/, 1)[0];
if (['DIRECT', 'PROXY', 'HTTPS', 'SOCKS'].indexOf(type) === -1) { if (['DIRECT', 'PROXY', 'HTTPS', 'SOCKS'].indexOf(type) === -1) {
type = 'UNKNOWN'; type = 'UNKNOWN';
} }
/* __GDPR__ /* __GDPR__
"resolveProxy" : { "resolveProxy.stats" : {
"type": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true } "type": { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth", "isMeasurement": true }
} }
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册