OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DRIVE_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 int64 length, | 120 int64 length, |
121 const FileOperationCallback& callback) OVERRIDE; | 121 const FileOperationCallback& callback) OVERRIDE; |
122 virtual void Pin(const base::FilePath& file_path, | 122 virtual void Pin(const base::FilePath& file_path, |
123 const FileOperationCallback& callback) OVERRIDE; | 123 const FileOperationCallback& callback) OVERRIDE; |
124 virtual void Unpin(const base::FilePath& file_path, | 124 virtual void Unpin(const base::FilePath& file_path, |
125 const FileOperationCallback& callback) OVERRIDE; | 125 const FileOperationCallback& callback) OVERRIDE; |
126 virtual void GetFile(const base::FilePath& file_path, | 126 virtual void GetFile(const base::FilePath& file_path, |
127 const GetFileCallback& callback) OVERRIDE; | 127 const GetFileCallback& callback) OVERRIDE; |
128 virtual void GetFileForSaving(const base::FilePath& file_path, | 128 virtual void GetFileForSaving(const base::FilePath& file_path, |
129 const GetFileCallback& callback) OVERRIDE; | 129 const GetFileCallback& callback) OVERRIDE; |
130 virtual void GetFileContent( | 130 virtual base::Closure GetFileContent( |
131 const base::FilePath& file_path, | 131 const base::FilePath& file_path, |
132 const GetFileContentInitializedCallback& initialized_callback, | 132 const GetFileContentInitializedCallback& initialized_callback, |
133 const google_apis::GetContentCallback& get_content_callback, | 133 const google_apis::GetContentCallback& get_content_callback, |
134 const FileOperationCallback& completion_callback) OVERRIDE; | 134 const FileOperationCallback& completion_callback) OVERRIDE; |
135 virtual void GetResourceEntry( | 135 virtual void GetResourceEntry( |
136 const base::FilePath& file_path, | 136 const base::FilePath& file_path, |
137 const GetResourceEntryCallback& callback) OVERRIDE; | 137 const GetResourceEntryCallback& callback) OVERRIDE; |
138 virtual void ReadDirectory( | 138 virtual void ReadDirectory( |
139 const base::FilePath& directory_path, | 139 const base::FilePath& directory_path, |
140 const ReadDirectoryCallback& callback) OVERRIDE; | 140 const ReadDirectoryCallback& callback) OVERRIDE; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 // Note: This should remain the last member so it'll be destroyed and | 299 // Note: This should remain the last member so it'll be destroyed and |
300 // invalidate the weak pointers before any other members are destroyed. | 300 // invalidate the weak pointers before any other members are destroyed. |
301 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; | 301 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; |
302 | 302 |
303 DISALLOW_COPY_AND_ASSIGN(FileSystem); | 303 DISALLOW_COPY_AND_ASSIGN(FileSystem); |
304 }; | 304 }; |
305 | 305 |
306 } // namespace drive | 306 } // namespace drive |
307 | 307 |
308 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ | 308 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ |
OLD | NEW |