@@ -15,13 +15,11 @@ import { IUpdateService } from 'vs/platform/update/common/update';
1515import { INativeHostService } from 'vs/platform/native/electron-sandbox/native' ;
1616import * as files from 'vs/workbench/contrib/files/common/files' ;
1717import { IEditorService } from 'vs/workbench/services/editor/common/editorService' ;
18- import { didUseCachedData } from 'vs/workbench/services/timer/electron-sandbox/timerService' ;
1918import { ITimerService } from 'vs/workbench/services/timer/browser/timerService' ;
2019import { IFileService } from 'vs/platform/files/common/files' ;
2120import { URI } from 'vs/base/common/uri' ;
2221import { VSBuffer } from 'vs/base/common/buffer' ;
2322import { IWorkspaceTrustManagementService } from 'vs/platform/workspace/common/workspaceTrust' ;
24- import { IStorageService } from 'vs/platform/storage/common/storage' ;
2523import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite' ;
2624import { ViewContainerLocation } from 'vs/workbench/common/views' ;
2725
@@ -39,7 +37,6 @@ export class StartupTimings implements IWorkbenchContribution {
3937 @INativeWorkbenchEnvironmentService private readonly _environmentService : INativeWorkbenchEnvironmentService ,
4038 @IProductService private readonly _productService : IProductService ,
4139 @IWorkspaceTrustManagementService private readonly _workspaceTrustService : IWorkspaceTrustManagementService ,
42- @IStorageService private readonly _storageService : IStorageService
4340 ) {
4441 this . _report ( ) . catch ( onUnexpectedError ) ;
4542 }
@@ -110,10 +107,6 @@ export class StartupTimings implements IWorkbenchContribution {
110107 if ( activePanel ) {
111108 return 'Current active panel : ' + this . _paneCompositeService . getPaneComposite ( activePanel . getId ( ) , ViewContainerLocation . Panel ) ?. name ;
112109 }
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- }
117110 if ( ! await this . _updateService . isLatestVersion ( ) ) {
118111 return 'Not on latest version, updates available' ;
119112 }
0 commit comments