Skip to content

Commit 20e5950

Browse files
author
Benjamin Pasero
committed
sandbox - 💄
1 parent 5bc5d31 commit 20e5950

8 files changed

Lines changed: 17 additions & 4 deletions

File tree

src/vs/platform/diagnostics/node/diagnosticsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { repeat, pad } from 'vs/base/common/strings';
1414
import { isWindows, isLinux } from 'vs/base/common/platform';
1515
import { URI } from 'vs/base/common/uri';
1616
import { ProcessItem } from 'vs/base/common/processes';
17-
import { IMainProcessInfo } from 'vs/platform/launch/common/launch';
17+
import { IMainProcessInfo } from 'vs/platform/launch/node/launch';
1818
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
1919
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
2020
import { Iterable } from 'vs/base/common/iterator';

src/vs/platform/launch/electron-main/launchMainService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { URI } from 'vs/base/common/uri';
1818
import { BrowserWindow, ipcMain, Event as IpcEvent, app } from 'electron';
1919
import { coalesce } from 'vs/base/common/arrays';
2020
import { IDiagnosticInfoOptions, IDiagnosticInfo, IRemoteDiagnosticInfo, IRemoteDiagnosticError } from 'vs/platform/diagnostics/common/diagnostics';
21-
import { IMainProcessInfo, IWindowInfo } from 'vs/platform/launch/common/launch';
21+
import { IMainProcessInfo, IWindowInfo } from 'vs/platform/launch/node/launch';
2222

2323
export const ID = 'launchMainService';
2424
export const ILaunchMainService = createDecorator<ILaunchMainService>(ID);

src/vs/platform/native/electron-sandbox/native.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ import { ICommonNativeHostService } from 'vs/platform/native/common/native';
88

99
export const INativeHostService = createDecorator<INativeHostService>('nativeHostService');
1010

11+
/**
12+
* A set of methods specific to a native host, i.e. unsupported in web
13+
* environments.
14+
*
15+
* @see `IHostService` for methods that can be used in native and web
16+
* hosts.
17+
*/
1118
export interface INativeHostService extends ICommonNativeHostService { }

src/vs/platform/sign/browser/signService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ export class SignService implements ISignService {
1616
}
1717

1818
async sign(value: string): Promise<string> {
19-
return Promise.resolve(this._tkn || '');
19+
return this._tkn || '';
2020
}
2121
}

src/vs/workbench/contrib/preferences/browser/keybindingsEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { IListAccessibilityProvider } from 'vs/base/browser/ui/list/listWidget';
4646
import { preferencesEditIcon } from 'vs/workbench/contrib/preferences/browser/preferencesWidgets';
4747
import { Color, RGBA } from 'vs/base/common/color';
4848
import { WORKBENCH_BACKGROUND } from 'vs/workbench/common/theme';
49-
import { ThemableCheckboxActionViewItem } from 'vs/platform/browser/checkbox';
49+
import { ThemableCheckboxActionViewItem } from 'vs/platform/theme/browser/checkbox';
5050

5151
const $ = DOM.$;
5252

src/vs/workbench/services/host/browser/host.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ import { IWindowOpenable, IOpenWindowOptions, IOpenEmptyWindowOptions } from 'vs
99

1010
export const IHostService = createDecorator<IHostService>('hostService');
1111

12+
/**
13+
* A set of methods supported in both web and native environments.
14+
*
15+
* @see `INativeHostService` for methods that are specific to native
16+
* environments.
17+
*/
1218
export interface IHostService {
1319

1420
readonly _serviceBrand: undefined;

0 commit comments

Comments
 (0)