OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | |
6 | |
7 /** | 5 /** |
8 * Namespace for common types shared between VolumeManager and | 6 * Namespace for common types shared between VolumeManager and |
9 * VolumeManagerWrapper. | 7 * VolumeManagerWrapper. |
10 */ | 8 */ |
11 var VolumeManagerCommon = {}; | 9 var VolumeManagerCommon = {}; |
12 | 10 |
13 /** | 11 /** |
14 * Type of a root directory. | 12 * Type of a root directory. |
15 * @enum {string} | 13 * @enum {string} |
16 * @const | 14 * @const |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 }; | 129 }; |
132 Object.freeze(VolumeManagerCommon.VolumeType); | 130 Object.freeze(VolumeManagerCommon.VolumeType); |
133 | 131 |
134 /** | 132 /** |
135 * @typedef {{ | 133 * @typedef {{ |
136 * type: VolumeManagerCommon.DriveConnectionType, | 134 * type: VolumeManagerCommon.DriveConnectionType, |
137 * reason: VolumeManagerCommon.DriveConnectionReason | 135 * reason: VolumeManagerCommon.DriveConnectionReason |
138 * }} | 136 * }} |
139 */ | 137 */ |
140 VolumeManagerCommon.DriveConnectionState; | 138 VolumeManagerCommon.DriveConnectionState; |
OLD | NEW |