OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 namespace experimental.systemInfo.storage { | 5 namespace experimental.systemInfo.storage { |
6 | 6 |
7 enum StorageUnitType { | 7 enum StorageUnitType { |
8 // Unknow storage type. | 8 // Unknow storage type. |
9 unknown, | 9 unknown, |
10 // Hard disk. | 10 // Hard disk. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Fired when the storage device available capacity is changed. | 44 // Fired when the storage device available capacity is changed. |
45 // |info|: The changed information for the specified storage unit. | 45 // |info|: The changed information for the specified storage unit. |
46 static void onAvailableCapacityChanged(StorageChangeInfo info); | 46 static void onAvailableCapacityChanged(StorageChangeInfo info); |
47 | 47 |
48 // Fired when a new removable storage is attached to the system. | 48 // Fired when a new removable storage is attached to the system. |
49 static void onAttached(StorageUnitInfo info); | 49 static void onAttached(StorageUnitInfo info); |
50 | 50 |
51 // Fired when a removable storage is detached from the system. | 51 // Fired when a removable storage is detached from the system. |
52 static void onDetached(DOMString id); | 52 static void onDetached(DOMString id); |
53 }; | 53 }; |
54 | 54 |
55 }; | 55 }; |
56 | 56 |
OLD | NEW |