forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsharedProcess.ts
More file actions
33 lines (25 loc) · 1.29 KB
/
sharedProcess.ts
File metadata and controls
33 lines (25 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IStringDictionary } from 'vs/base/common/collections';
import { ISandboxConfiguration } from 'vs/base/parts/sandbox/common/sandboxTypes';
import { NativeParsedArgs } from 'vs/platform/environment/common/argv';
import { LogLevel } from 'vs/platform/log/common/log';
import { IUserDataProfile } from 'vs/platform/userDataProfile/common/userDataProfile';
import { PolicyDefinition, PolicyValue } from 'vs/platform/policy/common/policy';
import { UriDto } from 'vs/base/common/uri';
export interface ISharedProcess {
/**
* Toggles the visibility of the otherwise hidden
* shared process window.
*/
toggle(): Promise<void>;
}
export interface ISharedProcessConfiguration extends ISandboxConfiguration {
readonly machineId: string;
readonly args: NativeParsedArgs;
readonly logLevel: LogLevel;
readonly profiles: readonly UriDto<IUserDataProfile>[];
readonly policiesData?: IStringDictionary<{ definition: PolicyDefinition; value: PolicyValue }>;
}