| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INTERF
ACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool recursive, | 122 bool recursive, |
| 123 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; | 123 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
| 124 | 124 |
| 125 // Requests copying an entry (recursively in case of a directory) within the | 125 // Requests copying an entry (recursively in case of a directory) within the |
| 126 // same file system. | 126 // same file system. |
| 127 virtual void CopyEntry( | 127 virtual void CopyEntry( |
| 128 const base::FilePath& source_path, | 128 const base::FilePath& source_path, |
| 129 const base::FilePath& target_path, | 129 const base::FilePath& target_path, |
| 130 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; | 130 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
| 131 | 131 |
| 132 // Requests moving an entry (recursively in case of a directory) within the |
| 133 // same file system. |
| 134 virtual void MoveEntry( |
| 135 const base::FilePath& source_path, |
| 136 const base::FilePath& target_path, |
| 137 const fileapi::AsyncFileUtil::StatusCallback& callback) = 0; |
| 138 |
| 132 // Returns a provided file system info for this file system. | 139 // Returns a provided file system info for this file system. |
| 133 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; | 140 virtual const ProvidedFileSystemInfo& GetFileSystemInfo() const = 0; |
| 134 | 141 |
| 135 // Returns a request manager for the file system. | 142 // Returns a request manager for the file system. |
| 136 virtual RequestManager* GetRequestManager() = 0; | 143 virtual RequestManager* GetRequestManager() = 0; |
| 137 | 144 |
| 138 // Returns a weak pointer to this object. | 145 // Returns a weak pointer to this object. |
| 139 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() = 0; | 146 virtual base::WeakPtr<ProvidedFileSystemInterface> GetWeakPtr() = 0; |
| 140 }; | 147 }; |
| 141 | 148 |
| 142 } // namespace file_system_provider | 149 } // namespace file_system_provider |
| 143 } // namespace chromeos | 150 } // namespace chromeos |
| 144 | 151 |
| 145 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT
ERFACE_H_ | 152 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INT
ERFACE_H_ |
| OLD | NEW |