Skip to content

Commit 7271b34

Browse files
bmeurerDevtools-frontend LUCI CQ
authored andcommitted
[Config] Add host config for DevToolsImprovedWorkspaces.
Bug: 393244410 Change-Id: I80b2381a90b8e2c86fe79cc45d96e5df91412f2d Doc: http://go/chrome-devtools:automatic-workspace-discovery-proposal Backend: https://crrev.com/c/6216140 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6218219 Auto-Submit: Benedikt Meurer <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]>
1 parent 5b2bcff commit 7271b34

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

front_end/core/host/InspectorFrontendHost.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ export class InspectorFrontendHostStub implements InspectorFrontendHostAPI {
423423
temperature: -1,
424424
enabled: false,
425425
},
426+
devToolsImprovedWorkspaces: {
427+
enabled: false,
428+
},
426429
devToolsVeLogging: {
427430
enabled: true,
428431
testing: false,

front_end/core/root/Runtime.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,10 @@ export interface HostConfigAiAssistanceFileAgent {
375375
userTier: string;
376376
}
377377

378+
export interface HostConfigImprovedWorkspaces {
379+
enabled: boolean;
380+
}
381+
378382
export interface HostConfigVeLogging {
379383
enabled: boolean;
380384
testing: boolean;
@@ -414,6 +418,7 @@ export type HostConfig = Platform.TypeScriptUtilities.RecursivePartial<{
414418
devToolsAiAssistanceNetworkAgent: HostConfigAiAssistanceNetworkAgent,
415419
devToolsAiAssistanceFileAgent: HostConfigAiAssistanceFileAgent,
416420
devToolsAiAssistancePerformanceAgent: HostConfigAiAssistancePerformanceAgent,
421+
devToolsImprovedWorkspaces: HostConfigImprovedWorkspaces,
417422
devToolsVeLogging: HostConfigVeLogging,
418423
devToolsPrivacyUI: HostConfigPrivacyUI,
419424
/**

front_end/testing/EnvironmentHelpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,9 @@ export function getGetHostConfigStub(config: Root.Runtime.HostConfig): sinon.Sin
538538
enabled: false,
539539
...config.devToolsAiAssistancePerformanceAgent,
540540
} as Root.Runtime.HostConfigAiAssistancePerformanceAgent,
541+
devToolsImprovedWorkspaces: {
542+
enabled: false,
543+
},
541544
devToolsVeLogging: {
542545
enabled: true,
543546
testing: false,

0 commit comments

Comments
 (0)