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

Unified Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h

Issue 389973002: [fsp] Add support for moving files within a provided file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
index b0071c9f5c771278b322db723af1b2bba71167fa..4ca7b3391f9ab6cd012317191dc2dccbf9d4d2ee 100644
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
@@ -129,6 +129,13 @@ class ProvidedFileSystemInterface {
const base::FilePath& target_path,
const fileapi::AsyncFileUtil::StatusCallback& callback) = 0;
+ // Requests moving an entry (recursively in case of a directory) within the
+ // same file system.
+ virtual void MoveEntry(
+ const base::FilePath& source_path,
+ const base::FilePath& target_path,
+ const fileapi::AsyncFileUtil::StatusCallback& callback) = 0;
+
// Returns a provided file system info for this file system.
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0;

Powered by Google App Engine
This is Rietveld 408576698