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 COMPONENTS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ | 6 #define COMPONENTS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
7 | 7 |
8 #include "components/drive/file_system_interface.h" | 8 #include "components/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 ~DummyFileSystem() override {} | 15 ~DummyFileSystem() override {} |
16 void AddObserver(FileSystemObserver* observer) override {} | 16 void AddObserver(FileSystemObserver* observer) override {} |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 const GetFilePathCallback& callback) override {} | 101 const GetFilePathCallback& callback) override {} |
102 void FreeDiskSpaceIfNeededFor( | 102 void FreeDiskSpaceIfNeededFor( |
103 int64 num_bytes, | 103 int64 num_bytes, |
104 const FreeDiskSpaceCallback& callback) override {} | 104 const FreeDiskSpaceCallback& callback) override {} |
105 void CalculateEvictableCacheSize( | 105 void CalculateEvictableCacheSize( |
106 const EvictableCacheSizeCallback& callback) override {} | 106 const EvictableCacheSizeCallback& callback) override {} |
107 }; | 107 }; |
108 | 108 |
109 } // namespace drive | 109 } // namespace drive |
110 | 110 |
111 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ | 111 #endif // COMPONENTS_DRIVE_DUMMY_FILE_SYSTEM_H_ |
OLD | NEW |