OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTEM_H
_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // called. | 168 // called. |
169 void AbortMany(const std::vector<int>& task_ids, | 169 void AbortMany(const std::vector<int>& task_ids, |
170 const storage::AsyncFileUtil::StatusCallback& callback); | 170 const storage::AsyncFileUtil::StatusCallback& callback); |
171 | 171 |
172 ProvidedFileSystemInfo file_system_info_; | 172 ProvidedFileSystemInfo file_system_info_; |
173 Entries entries_; | 173 Entries entries_; |
174 OpenedFilesMap opened_files_; | 174 OpenedFilesMap opened_files_; |
175 int last_file_handle_; | 175 int last_file_handle_; |
176 base::CancelableTaskTracker tracker_; | 176 base::CancelableTaskTracker tracker_; |
177 ObserverList<ProvidedFileSystemObserver> observers_; | 177 ObserverList<ProvidedFileSystemObserver> observers_; |
| 178 ObservedEntries observed_entries_; |
178 | 179 |
179 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; | 180 base::WeakPtrFactory<FakeProvidedFileSystem> weak_ptr_factory_; |
180 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); | 181 DISALLOW_COPY_AND_ASSIGN(FakeProvidedFileSystem); |
181 }; | 182 }; |
182 | 183 |
183 } // namespace file_system_provider | 184 } // namespace file_system_provider |
184 } // namespace chromeos | 185 } // namespace chromeos |
185 | 186 |
186 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ | 187 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_FAKE_PROVIDED_FILE_SYSTE
M_H_ |
OLD | NEW |