src/vs/workbench/browser/parts/editor/editorAutoSave.ts/EditorAutoSave/onDidChangeDirty
class EditorAutoSave:	private onDidChangeDirty(workingCopy: IWorkingCopy): void {
		if (workingCopy.isDirty()) {
			this.scheduleAutoSave(workingCopy);
		} else {
			this.discardAutoSave(workingCopy);
		}
	}