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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 | 865 |
866 // Is UMA enabled? | 866 // Is UMA enabled? |
867 static void isUMAEnabled(BooleanCallback callback); | 867 static void isUMAEnabled(BooleanCallback callback); |
868 | 868 |
869 // Sets a tag on a file or a directory. Only Drive files are supported. | 869 // Sets a tag on a file or a directory. Only Drive files are supported. |
870 static void setEntryTag(DOMString entryURL, | 870 static void setEntryTag(DOMString entryURL, |
871 EntryTagVisibility visibility, | 871 EntryTagVisibility visibility, |
872 DOMString key, | 872 DOMString key, |
873 DOMString value, | 873 DOMString value, |
874 SimpleCallback callback); | 874 SimpleCallback callback); |
| 875 |
| 876 // Returns if Piex loader is enabled. |
| 877 static void isPiexLoaderEnabled(BooleanCallback callback); |
875 }; | 878 }; |
876 | 879 |
877 interface Events { | 880 interface Events { |
878 static void onMountCompleted(MountCompletedEvent event); | 881 static void onMountCompleted(MountCompletedEvent event); |
879 | 882 |
880 static void onFileTransfersUpdated(FileTransferStatus event); | 883 static void onFileTransfersUpdated(FileTransferStatus event); |
881 | 884 |
882 static void onCopyProgress(long copyId, CopyProgressStatus status); | 885 static void onCopyProgress(long copyId, CopyProgressStatus status); |
883 | 886 |
884 static void onDirectoryChanged(FileWatchEvent event); | 887 static void onDirectoryChanged(FileWatchEvent event); |
885 | 888 |
886 static void onPreferencesChanged(); | 889 static void onPreferencesChanged(); |
887 | 890 |
888 static void onDriveConnectionStatusChanged(); | 891 static void onDriveConnectionStatusChanged(); |
889 | 892 |
890 static void onDeviceChanged(DeviceEvent event); | 893 static void onDeviceChanged(DeviceEvent event); |
891 | 894 |
892 static void onDriveSyncError(DriveSyncErrorEvent event); | 895 static void onDriveSyncError(DriveSyncErrorEvent event); |
893 }; | 896 }; |
894 }; | 897 }; |
OLD | NEW |