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 GetResourceEntryById( | 20 virtual void GetResourceEntryById( |
21 const std::string& resource_id, | 21 const std::string& resource_id, |
22 const GetResourceEntryWithFilePathCallback& callback) OVERRIDE {} | 22 const GetResourceEntryCallback& callback) OVERRIDE {} |
23 virtual void TransferFileFromRemoteToLocal( | 23 virtual void TransferFileFromRemoteToLocal( |
24 const base::FilePath& remote_src_file_path, | 24 const base::FilePath& remote_src_file_path, |
25 const base::FilePath& local_dest_file_path, | 25 const base::FilePath& local_dest_file_path, |
26 const FileOperationCallback& callback) OVERRIDE {} | 26 const FileOperationCallback& callback) OVERRIDE {} |
27 virtual void TransferFileFromLocalToRemote( | 27 virtual void TransferFileFromLocalToRemote( |
28 const base::FilePath& local_src_file_path, | 28 const base::FilePath& local_src_file_path, |
29 const base::FilePath& remote_dest_file_path, | 29 const base::FilePath& remote_dest_file_path, |
30 const FileOperationCallback& callback) OVERRIDE {} | 30 const FileOperationCallback& callback) OVERRIDE {} |
31 virtual void OpenFile(const base::FilePath& file_path, | 31 virtual void OpenFile(const base::FilePath& file_path, |
32 const OpenFileCallback& callback) OVERRIDE {} | 32 const OpenFileCallback& callback) OVERRIDE {} |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual void GetCacheEntryByResourceId( | 103 virtual void GetCacheEntryByResourceId( |
104 const std::string& resource_id, | 104 const std::string& resource_id, |
105 const std::string& md5, | 105 const std::string& md5, |
106 const GetCacheEntryCallback& callback) OVERRIDE {} | 106 const GetCacheEntryCallback& callback) OVERRIDE {} |
107 virtual void Reload() OVERRIDE {} | 107 virtual void Reload() OVERRIDE {} |
108 }; | 108 }; |
109 | 109 |
110 } // namespace drive | 110 } // namespace drive |
111 | 111 |
112 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ | 112 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
OLD | NEW |