function MockVolumeManagerWrapper() {
  this.volumeInfoList = new cr.ui.ArrayDataModel([]);
  this.driveConnectionState = {
    type: VolumeManagerCommon.DriveConnectionType.ONLINE
  };
  this.createVolumeInfo(
      VolumeManagerCommon.VolumeType.DRIVE,
      'drive',
      str('DRIVE_DIRECTORY_LABEL'));
  this.createVolumeInfo(
      VolumeManagerCommon.VolumeType.DOWNLOADS,
      'downloads',
      str('DOWNLOADS_DIRECTORY_LABEL'));
}
/**
 * Mock class for VolumeManagerWrapper.
 *
 * TODO(mtomasz): Merge mocks once VolumeManagerWrapper and VolumeManager
 * implement an identical interface.
 * @constructor
 */
Mock class for VolumeManagerWrapper.
TODO(mtomasz): Merge mocks once VolumeManagerWrapper and VolumeManager
implement an identical interface.
@constructor
Mock class for VolumeManagerWrapper . TODO ( mtomasz ) : Merge mocks once VolumeManagerWrapper and VolumeManager implement an identical interface . @constructor
function MockVolumeManagerWrapper() {
  this.volumeInfoList = new cr.ui.ArrayDataModel([]);
  this.driveConnectionState = {
    type: VolumeManagerCommon.DriveConnectionType.ONLINE
  };
  this.createVolumeInfo(
      VolumeManagerCommon.VolumeType.DRIVE,
      'drive',
      str('DRIVE_DIRECTORY_LABEL'));
  this.createVolumeInfo(
      VolumeManagerCommon.VolumeType.DOWNLOADS,
      'downloads',
      str('DOWNLOADS_DIRECTORY_LABEL'));
}
function MockVolumeManagerWrapper ( ) { this . volumeInfoList = new cr . ui . ArrayDataModel ( [ ] ) ; this . driveConnectionState = { type : VolumeManagerCommon . DriveConnectionType . ONLINE } ; this . createVolumeInfo ( VolumeManagerCommon . VolumeType . DRIVE , 'drive' , str ( 'DRIVE_DIRECTORY_LABEL' ) ) ; this . createVolumeInfo ( VolumeManagerCommon . VolumeType . DOWNLOADS , 'downloads' , str ( 'DOWNLOADS_DIRECTORY_LABEL' ) ) ; }
Mock class for VolumeManagerWrapper.
Mock class for VolumeManagerWrapper .