| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // fileManagerPrivate API. | 5 // fileManagerPrivate API. |
| 6 // This is a private API used by the file browser of ChromeOS. | 6 // This is a private API used by the file browser of ChromeOS. |
| 7 [platforms=("chromeos"), | 7 [platforms=("chromeos"), |
| 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] | 8 implemented_in="chrome/browser/chromeos/extensions/file_manager/file_manager_pr
ivate_api_functions.h"] |
| 9 namespace fileManagerPrivate { | 9 namespace fileManagerPrivate { |
| 10 // Type of the mounted volume. | 10 // Type of the mounted volume. |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Path to identify the device. This is consistent with DeviceEvent's | 340 // Path to identify the device. This is consistent with DeviceEvent's |
| 341 // devicePath. | 341 // devicePath. |
| 342 DOMString? devicePath; | 342 DOMString? devicePath; |
| 343 | 343 |
| 344 // Whether the device is parent or not (i.e. sdb rather than sdb1). | 344 // Whether the device is parent or not (i.e. sdb rather than sdb1). |
| 345 boolean? isParentDevice; | 345 boolean? isParentDevice; |
| 346 | 346 |
| 347 // Flag that specifies if volume is mounted in read-only mode. | 347 // Flag that specifies if volume is mounted in read-only mode. |
| 348 boolean isReadOnly; | 348 boolean isReadOnly; |
| 349 | 349 |
| 350 // Flag that specifies if the device is write-protected. |
| 351 // Valid only for the volumes of removable device partitions. |
| 352 boolean isReadOnlyRemovableDevice; |
| 353 |
| 350 // Flag that specifies whether the volume contains media. | 354 // Flag that specifies whether the volume contains media. |
| 351 boolean hasMedia; | 355 boolean hasMedia; |
| 352 | 356 |
| 353 // Flag that specifies whether the volume is configurable. | 357 // Flag that specifies whether the volume is configurable. |
| 354 boolean configurable; | 358 boolean configurable; |
| 355 | 359 |
| 356 // Flag that specifies whether the volume is watchable. | 360 // Flag that specifies whether the volume is watchable. |
| 357 boolean watchable; | 361 boolean watchable; |
| 358 | 362 |
| 359 // Additional data about mount, for example, that the filesystem is not | 363 // Additional data about mount, for example, that the filesystem is not |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 | 1000 |
| 997 static void onPreferencesChanged(); | 1001 static void onPreferencesChanged(); |
| 998 | 1002 |
| 999 static void onDriveConnectionStatusChanged(); | 1003 static void onDriveConnectionStatusChanged(); |
| 1000 | 1004 |
| 1001 static void onDeviceChanged(DeviceEvent event); | 1005 static void onDeviceChanged(DeviceEvent event); |
| 1002 | 1006 |
| 1003 static void onDriveSyncError(DriveSyncErrorEvent event); | 1007 static void onDriveSyncError(DriveSyncErrorEvent event); |
| 1004 }; | 1008 }; |
| 1005 }; | 1009 }; |
| OLD | NEW |