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

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

Issue 576063002: Modify the behavior of cancel button in syncing status to cancel all jobs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 657
658 // Unmounts a mounted resource. 658 // Unmounts a mounted resource.
659 // |volumeId| An ID of the volume. 659 // |volumeId| An ID of the volume.
660 static void removeMount(DOMString volumeId); 660 static void removeMount(DOMString volumeId);
661 661
662 // Get the list of mounted volumes. 662 // Get the list of mounted volumes.
663 // |callback| 663 // |callback|
664 static void getVolumeMetadataList(GetVolumeMetadataListCallback callback); 664 static void getVolumeMetadataList(GetVolumeMetadataListCallback callback);
665 665
666 // Cancels ongoing file transfers for selected files. 666 // Cancels ongoing file transfers for selected files.
667 // |fileUrls| Array of files for which ongoing transfer should be canceled. 667 // |fileUrls| Array of files for which ongoing transfer should be canceled.
Devlin 2014/09/18 18:47:55 comment on the behavior if this is absent?
iseki 2014/09/19 00:36:38 Done.
668 // |callback| 668 // |callback|
669 static void cancelFileTransfers(DOMString[] fileUrls, 669 static void cancelFileTransfers(optional DOMString[] fileUrls,
670 CancelFileTransfersCallback callback); 670 CancelFileTransfersCallback callback);
671 671
672 // Starts to copy an entry. If the source is a directory, the copy is done 672 // Starts to copy an entry. If the source is a directory, the copy is done
673 // recursively. 673 // recursively.
674 // |sourceUrl| URL of the source entry to be copied. 674 // |sourceUrl| URL of the source entry to be copied.
675 // |parent| URL of the destination directory. 675 // |parent| URL of the destination directory.
676 // |newName| Name of the new entry. It shouldn't contain '/'. 676 // |newName| Name of the new entry. It shouldn't contain '/'.
677 // |callback| Completion callback. 677 // |callback| Completion callback.
678 static void startCopy(DOMString sourceUrl, 678 static void startCopy(DOMString sourceUrl,
679 DOMString parent, 679 DOMString parent,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 802
803 static void onPreferencesChanged(); 803 static void onPreferencesChanged();
804 804
805 static void onDriveConnectionStatusChanged(); 805 static void onDriveConnectionStatusChanged();
806 806
807 static void onDeviceChanged(DeviceEvent event); 807 static void onDeviceChanged(DeviceEvent event);
808 808
809 static void onDriveSyncError(DriveSyncErrorEvent event); 809 static void onDriveSyncError(DriveSyncErrorEvent event);
810 }; 810 };
811 }; 811 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698