@@ -15,13 +15,11 @@ import { IUpdateService } from 'vs/platform/update/common/update';
15
15
import { INativeHostService } from 'vs/platform/native/electron-sandbox/native' ;
16
16
import * as files from 'vs/workbench/contrib/files/common/files' ;
17
17
import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
18
- import { didUseCachedData } from 'vs/workbench/services/timer/electron-sandbox/timerService' ;
19
18
import { ITimerService } from 'vs/workbench/services/timer/browser/timerService' ;
20
19
import { IFileService } from 'vs/platform/files/common/files' ;
21
20
import { URI } from 'vs/base/common/uri' ;
22
21
import { VSBuffer } from 'vs/base/common/buffer' ;
23
22
import { IWorkspaceTrustManagementService } from 'vs/platform/workspace/common/workspaceTrust' ;
24
- import { IStorageService } from 'vs/platform/storage/common/storage' ;
25
23
import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite' ;
26
24
import { ViewContainerLocation } from 'vs/workbench/common/views' ;
27
25
@@ -39,7 +37,6 @@ export class StartupTimings implements IWorkbenchContribution {
39
37
@INativeWorkbenchEnvironmentService private readonly _environmentService : INativeWorkbenchEnvironmentService ,
40
38
@IProductService private readonly _productService : IProductService ,
41
39
@IWorkspaceTrustManagementService private readonly _workspaceTrustService : IWorkspaceTrustManagementService ,
42
- @IStorageService private readonly _storageService : IStorageService
43
40
) {
44
41
this . _report ( ) . catch ( onUnexpectedError ) ;
45
42
}
@@ -110,10 +107,6 @@ export class StartupTimings implements IWorkbenchContribution {
110
107
if ( activePanel ) {
111
108
return 'Current active panel : ' + this . _paneCompositeService . getPaneComposite ( activePanel . getId ( ) , ViewContainerLocation . Panel ) ?. name ;
112
109
}
113
- const noCachedData = this . _environmentService . args [ 'no-cached-data' ] ;
114
- if ( ! noCachedData && ! didUseCachedData ( this . _productService , this . _storageService , this . _environmentService ) ) {
115
- return 'Either cache data is rejected or not created' ;
116
- }
117
110
if ( ! await this . _updateService . isLatestVersion ( ) ) {
118
111
return 'Not on latest version, updates available' ;
119
112
}
0 commit comments