• Noel Gordon's avatar
    Closure compile file_operation_manager and its mock file · 7fe9b01c
    Noel Gordon authored
     - add these files to the BUILD file, fix all closure errors
     - change externs FileOperationManager to be an @interface
     - rename FileOperationManager to FileOperationManagerImpl,
       and use it as the implementation in FilesApp
     - remove FileOperationManager.DELETE_TIMEOUT, it is unused
     - update class MockFileOperationManager, an implementation
       of FileOperationManager for tests, and add missing base
       class methods needed to Closure compile it.
     - re-order file_operation_handler_unittest.html scripts: the
       simple scripts first, the unittest-related scripts last.
     - make util.addEventListenerToBackgroundComponent have an
       EventTarget to satisfy Closure compile now EventTarget is
       used to define the externs FileOperationManager @interface
    
    No change in test behavior, no new tests.
    
    Bug: 908299
    Change-Id: I5b03596b6beb3e6bce3bd8a140525fff4cb30d2d
    Reviewed-on: https://chromium-review.googlesource.com/c/1350447
    Commit-Queue: Noel Gordon <noel@chromium.org>
    Reviewed-by: default avatarSam McNally <sammc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#610810}
    7fe9b01c
file_operation_manager.js 2.53 KB