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 4ca7b3391f9ab6cd012317191dc2dccbf9d4d2ee..9563d1f6ea930d2ef6317d22cae46e13c0a96484 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 |
@@ -136,6 +136,12 @@ class ProvidedFileSystemInterface { |
const base::FilePath& target_path, |
const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ // Requests truncating a file to the desired length. |
+ virtual void Truncate( |
+ const base::FilePath& file_path, |
+ int64 length, |
+ const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
+ |
// Returns a provided file system info for this file system. |
virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |