| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DUMMY_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/drive/file_system_interface.h" | 8 #include "chrome/browser/chromeos/drive/file_system_interface.h" |
| 9 | 9 |
| 10 namespace drive { | 10 namespace drive { |
| 11 | 11 |
| 12 // Dummy implementation of FileSystemInterface. All functions do nothing. | 12 // Dummy implementation of FileSystemInterface. All functions do nothing. |
| 13 class DummyFileSystem : public FileSystemInterface { | 13 class DummyFileSystem : public FileSystemInterface { |
| 14 public: | 14 public: |
| 15 virtual ~DummyFileSystem() {} | 15 virtual ~DummyFileSystem() {} |
| 16 virtual void Initialize() OVERRIDE {} | 16 virtual void Initialize() OVERRIDE {} |
| 17 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE {} | 17 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE {} |
| 18 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE {} | 18 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE {} |
| 19 virtual void CheckForUpdates() OVERRIDE {} | 19 virtual void CheckForUpdates() OVERRIDE {} |
| 20 virtual void TransferFileFromRemoteToLocal( | |
| 21 const base::FilePath& remote_src_file_path, | |
| 22 const base::FilePath& local_dest_file_path, | |
| 23 const FileOperationCallback& callback) OVERRIDE {} | |
| 24 virtual void TransferFileFromLocalToRemote( | 20 virtual void TransferFileFromLocalToRemote( |
| 25 const base::FilePath& local_src_file_path, | 21 const base::FilePath& local_src_file_path, |
| 26 const base::FilePath& remote_dest_file_path, | 22 const base::FilePath& remote_dest_file_path, |
| 27 const FileOperationCallback& callback) OVERRIDE {} | 23 const FileOperationCallback& callback) OVERRIDE {} |
| 28 virtual void OpenFile(const base::FilePath& file_path, | 24 virtual void OpenFile(const base::FilePath& file_path, |
| 29 OpenMode open_mode, | 25 OpenMode open_mode, |
| 30 const OpenFileCallback& callback) OVERRIDE {} | 26 const OpenFileCallback& callback) OVERRIDE {} |
| 31 virtual void Copy(const base::FilePath& src_file_path, | 27 virtual void Copy(const base::FilePath& src_file_path, |
| 32 const base::FilePath& dest_file_path, | 28 const base::FilePath& dest_file_path, |
| 33 const FileOperationCallback& callback) OVERRIDE {} | 29 const FileOperationCallback& callback) OVERRIDE {} |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 const FileOperationCallback& callback) OVERRIDE {} | 92 const FileOperationCallback& callback) OVERRIDE {} |
| 97 virtual void GetCacheEntryByResourceId( | 93 virtual void GetCacheEntryByResourceId( |
| 98 const std::string& resource_id, | 94 const std::string& resource_id, |
| 99 const GetCacheEntryCallback& callback) OVERRIDE {} | 95 const GetCacheEntryCallback& callback) OVERRIDE {} |
| 100 virtual void Reload() OVERRIDE {} | 96 virtual void Reload() OVERRIDE {} |
| 101 }; | 97 }; |
| 102 | 98 |
| 103 } // namespace drive | 99 } // namespace drive |
| 104 | 100 |
| 105 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
| OLD | NEW |