| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE; | 76 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE; |
| 77 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE; | 77 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE; |
| 78 virtual void CheckForUpdates() OVERRIDE; | 78 virtual void CheckForUpdates() OVERRIDE; |
| 79 virtual void Search(const std::string& search_query, | 79 virtual void Search(const std::string& search_query, |
| 80 const GURL& next_url, | 80 const GURL& next_url, |
| 81 const SearchCallback& callback) OVERRIDE; | 81 const SearchCallback& callback) OVERRIDE; |
| 82 virtual void SearchMetadata(const std::string& query, | 82 virtual void SearchMetadata(const std::string& query, |
| 83 int options, | 83 int options, |
| 84 int at_most_num_matches, | 84 int at_most_num_matches, |
| 85 const SearchMetadataCallback& callback) OVERRIDE; | 85 const SearchMetadataCallback& callback) OVERRIDE; |
| 86 virtual void TransferFileFromRemoteToLocal( | |
| 87 const base::FilePath& remote_src_file_path, | |
| 88 const base::FilePath& local_dest_file_path, | |
| 89 const FileOperationCallback& callback) OVERRIDE; | |
| 90 virtual void TransferFileFromLocalToRemote( | 86 virtual void TransferFileFromLocalToRemote( |
| 91 const base::FilePath& local_src_file_path, | 87 const base::FilePath& local_src_file_path, |
| 92 const base::FilePath& remote_dest_file_path, | 88 const base::FilePath& remote_dest_file_path, |
| 93 const FileOperationCallback& callback) OVERRIDE; | 89 const FileOperationCallback& callback) OVERRIDE; |
| 94 virtual void OpenFile(const base::FilePath& file_path, | 90 virtual void OpenFile(const base::FilePath& file_path, |
| 95 OpenMode open_mode, | 91 OpenMode open_mode, |
| 96 const OpenFileCallback& callback) OVERRIDE; | 92 const OpenFileCallback& callback) OVERRIDE; |
| 97 virtual void Copy(const base::FilePath& src_file_path, | 93 virtual void Copy(const base::FilePath& src_file_path, |
| 98 const base::FilePath& dest_file_path, | 94 const base::FilePath& dest_file_path, |
| 99 const FileOperationCallback& callback) OVERRIDE; | 95 const FileOperationCallback& callback) OVERRIDE; |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // Note: This should remain the last member so it'll be destroyed and | 324 // Note: This should remain the last member so it'll be destroyed and |
| 329 // invalidate the weak pointers before any other members are destroyed. | 325 // invalidate the weak pointers before any other members are destroyed. |
| 330 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; | 326 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; |
| 331 | 327 |
| 332 DISALLOW_COPY_AND_ASSIGN(FileSystem); | 328 DISALLOW_COPY_AND_ASSIGN(FileSystem); |
| 333 }; | 329 }; |
| 334 | 330 |
| 335 } // namespace drive | 331 } // namespace drive |
| 336 | 332 |
| 337 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ | 333 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ |
| OLD | NEW |