Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: chrome/common/extensions/api/file_manager_private.idl

Issue 1142593002: Generalize volume configuration over all volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the configure test. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 static void isPiexLoaderEnabled(BooleanCallback callback); 912 static void isPiexLoaderEnabled(BooleanCallback callback);
913 913
914 // Returns list of available providing extensions. 914 // Returns list of available providing extensions.
915 static void getProvidingExtensions(GetProvidingExtensionsCallback callback); 915 static void getProvidingExtensions(GetProvidingExtensionsCallback callback);
916 916
917 // Requests adding a new provided file system. If not possible, then an error 917 // Requests adding a new provided file system. If not possible, then an error
918 // via chrome.runtime.lastError is returned. 918 // via chrome.runtime.lastError is returned.
919 static void addProvidedFileSystem(DOMString extension_id, 919 static void addProvidedFileSystem(DOMString extension_id,
920 SimpleCallback callback); 920 SimpleCallback callback);
921 921
922 // Requests configuring an existing file system. If not possible, then returns 922 // Requests configuring an existing volume. If not possible, then returns
923 // an error via chrome.runtime.lastError. 923 // an error via chrome.runtime.lastError.
924 static void configureProvidedFileSystem(DOMString volumeId, 924 static void configureVolume(DOMString volumeId, SimpleCallback callback);
925 SimpleCallback callback);
926 }; 925 };
927 926
928 interface Events { 927 interface Events {
929 static void onMountCompleted(MountCompletedEvent event); 928 static void onMountCompleted(MountCompletedEvent event);
930 929
931 static void onFileTransfersUpdated(FileTransferStatus event); 930 static void onFileTransfersUpdated(FileTransferStatus event);
932 931
933 static void onCopyProgress(long copyId, CopyProgressStatus status); 932 static void onCopyProgress(long copyId, CopyProgressStatus status);
934 933
935 static void onDirectoryChanged(FileWatchEvent event); 934 static void onDirectoryChanged(FileWatchEvent event);
936 935
937 static void onPreferencesChanged(); 936 static void onPreferencesChanged();
938 937
939 static void onDriveConnectionStatusChanged(); 938 static void onDriveConnectionStatusChanged();
940 939
941 static void onDeviceChanged(DeviceEvent event); 940 static void onDeviceChanged(DeviceEvent event);
942 941
943 static void onDriveSyncError(DriveSyncErrorEvent event); 942 static void onDriveSyncError(DriveSyncErrorEvent event);
944 }; 943 };
945 }; 944 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698