function VolumeManagerImpl() {
  /** @override */
  this.volumeInfoList = new VolumeInfoListImpl();

  /**
   * The list of archives requested to mount. We will show contents once
   * archive is mounted, but only for mounts from within this filebrowser tab.
   * @type {Object<Object>}
   * @private
   */
  this.requests_ = {};

  /**
   * Queue for mounting.
   * @type {AsyncUtil.Queue}
   * @private
   */
  this.mountQueue_ = new AsyncUtil.Queue();

  // The status should be merged into VolumeManager.
  // TODO(hidehiko): Remove them after the migration.
  /**
   * Connection state of the Drive.
   * @type {VolumeManagerCommon.DriveConnectionState}
   * @private
   */
  this.driveConnectionState_ = {
    type: VolumeManagerCommon.DriveConnectionType.OFFLINE,
    reason: VolumeManagerCommon.DriveConnectionReason.NO_SERVICE,
    hasCellularNetworkAccess: false
  };

  chrome.fileManagerPrivate.onDriveConnectionStatusChanged.addListener(
      this.onDriveConnectionStatusChanged_.bind(this));
  this.onDriveConnectionStatusChanged_();
}
/**
 * VolumeManager is responsible for tracking list of mounted volumes.
 *
 * @constructor
 * @implements {VolumeManager}
 * @extends {cr.EventTarget}
 */
VolumeManager is responsible for tracking list of mounted volumes.
VolumeManager is responsible for tracking list of mounted volumes .
function VolumeManagerImpl() {
  this.volumeInfoList = new VolumeInfoListImpl();
  this.requests_ = {};
  this.mountQueue_ = new AsyncUtil.Queue();
  this.driveConnectionState_ = {
    type: VolumeManagerCommon.DriveConnectionType.OFFLINE,
    reason: VolumeManagerCommon.DriveConnectionReason.NO_SERVICE,
    hasCellularNetworkAccess: false
  };
  chrome.fileManagerPrivate.onDriveConnectionStatusChanged.addListener(
      this.onDriveConnectionStatusChanged_.bind(this));
  this.onDriveConnectionStatusChanged_();
}
function VolumeManagerImpl ( ) { this . volumeInfoList = new VolumeInfoListImpl ( ) ; this . requests_ = { } ; this . mountQueue_ = new AsyncUtil . Queue ( ) ; this . driveConnectionState_ = { type : VolumeManagerCommon . DriveConnectionType . OFFLINE , reason : VolumeManagerCommon . DriveConnectionReason . NO_SERVICE , hasCellularNetworkAccess : false } ; chrome . fileManagerPrivate . onDriveConnectionStatusChanged . addListener ( this . onDriveConnectionStatusChanged_ . bind ( this ) ) ; this . onDriveConnectionStatusChanged_ ( ) ; }
VolumeManager is responsible for tracking list of mounted volumes.
VolumeManager is responsible for tracking list of mounted volumes .
/** @override */ /**
   * The list of archives requested to mount. We will show contents once
   * archive is mounted, but only for mounts from within this filebrowser tab.
   * @type {Object<Object>}
   * @private
   */ /**
   * Queue for mounting.
   * @type {AsyncUtil.Queue}
   * @private
   */ // The status should be merged into VolumeManager. // TODO(hidehiko): Remove them after the migration. /**
   * Connection state of the Drive.
   * @type {VolumeManagerCommon.DriveConnectionState}
   * @private
   */