mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 10:16:01 +01:00
sandbox - 💄
This commit is contained in:
@@ -14,7 +14,7 @@ import { repeat, pad } from 'vs/base/common/strings';
|
||||
import { isWindows, isLinux } from 'vs/base/common/platform';
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { ProcessItem } from 'vs/base/common/processes';
|
||||
import { IMainProcessInfo } from 'vs/platform/launch/common/launch';
|
||||
import { IMainProcessInfo } from 'vs/platform/launch/node/launch';
|
||||
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
|
||||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { Iterable } from 'vs/base/common/iterator';
|
||||
|
||||
@@ -18,7 +18,7 @@ import { URI } from 'vs/base/common/uri';
|
||||
import { BrowserWindow, ipcMain, Event as IpcEvent, app } from 'electron';
|
||||
import { coalesce } from 'vs/base/common/arrays';
|
||||
import { IDiagnosticInfoOptions, IDiagnosticInfo, IRemoteDiagnosticInfo, IRemoteDiagnosticError } from 'vs/platform/diagnostics/common/diagnostics';
|
||||
import { IMainProcessInfo, IWindowInfo } from 'vs/platform/launch/common/launch';
|
||||
import { IMainProcessInfo, IWindowInfo } from 'vs/platform/launch/node/launch';
|
||||
|
||||
export const ID = 'launchMainService';
|
||||
export const ILaunchMainService = createDecorator<ILaunchMainService>(ID);
|
||||
|
||||
@@ -8,4 +8,11 @@ import { ICommonNativeHostService } from 'vs/platform/native/common/native';
|
||||
|
||||
export const INativeHostService = createDecorator<INativeHostService>('nativeHostService');
|
||||
|
||||
/**
|
||||
* A set of methods specific to a native host, i.e. unsupported in web
|
||||
* environments.
|
||||
*
|
||||
* @see `IHostService` for methods that can be used in native and web
|
||||
* hosts.
|
||||
*/
|
||||
export interface INativeHostService extends ICommonNativeHostService { }
|
||||
|
||||
@@ -16,6 +16,6 @@ export class SignService implements ISignService {
|
||||
}
|
||||
|
||||
async sign(value: string): Promise<string> {
|
||||
return Promise.resolve(this._tkn || '');
|
||||
return this._tkn || '';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ import { IListAccessibilityProvider } from 'vs/base/browser/ui/list/listWidget';
|
||||
import { preferencesEditIcon } from 'vs/workbench/contrib/preferences/browser/preferencesWidgets';
|
||||
import { Color, RGBA } from 'vs/base/common/color';
|
||||
import { WORKBENCH_BACKGROUND } from 'vs/workbench/common/theme';
|
||||
import { ThemableCheckboxActionViewItem } from 'vs/platform/browser/checkbox';
|
||||
import { ThemableCheckboxActionViewItem } from 'vs/platform/theme/browser/checkbox';
|
||||
|
||||
const $ = DOM.$;
|
||||
|
||||
|
||||
@@ -9,6 +9,12 @@ import { IWindowOpenable, IOpenWindowOptions, IOpenEmptyWindowOptions } from 'vs
|
||||
|
||||
export const IHostService = createDecorator<IHostService>('hostService');
|
||||
|
||||
/**
|
||||
* A set of methods supported in both web and native environments.
|
||||
*
|
||||
* @see `INativeHostService` for methods that are specific to native
|
||||
* environments.
|
||||
*/
|
||||
export interface IHostService {
|
||||
|
||||
readonly _serviceBrand: undefined;
|
||||
|
||||
Reference in New Issue
Block a user