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

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

Issue 1194783002: Add fileManagerPrivate.onCopyError event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 // Requests configuring an existing volume. If not possible, then returns 915 // Requests configuring an existing volume. If not possible, then returns
916 // an error via chrome.runtime.lastError. 916 // an error via chrome.runtime.lastError.
917 static void configureVolume(DOMString volumeId, SimpleCallback callback); 917 static void configureVolume(DOMString volumeId, SimpleCallback callback);
918 }; 918 };
919 919
920 interface Events { 920 interface Events {
921 static void onMountCompleted(MountCompletedEvent event); 921 static void onMountCompleted(MountCompletedEvent event);
922 922
923 static void onFileTransfersUpdated(FileTransferStatus event); 923 static void onFileTransfersUpdated(FileTransferStatus event);
924 924
925 static void onCopyError(long copyId, DOMString sourceURL, DOMString destionati onURL);
mtomasz 2015/06/20 02:42:56 nit: This line seems to long. Can we wrap?
926
925 static void onCopyProgress(long copyId, CopyProgressStatus status); 927 static void onCopyProgress(long copyId, CopyProgressStatus status);
mtomasz 2015/06/20 02:42:56 CopyProgressStatus already passes an error. Why do
yawano 2015/06/22 02:28:27 Thank you! CopyProgressStatus event is enough. I'l
926 928
927 static void onDirectoryChanged(FileWatchEvent event); 929 static void onDirectoryChanged(FileWatchEvent event);
928 930
929 static void onPreferencesChanged(); 931 static void onPreferencesChanged();
930 932
931 static void onDriveConnectionStatusChanged(); 933 static void onDriveConnectionStatusChanged();
932 934
933 static void onDeviceChanged(DeviceEvent event); 935 static void onDeviceChanged(DeviceEvent event);
934 936
935 static void onDriveSyncError(DriveSyncErrorEvent event); 937 static void onDriveSyncError(DriveSyncErrorEvent event);
936 }; 938 };
937 }; 939 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698