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 #include "content/public/test/test_file_system_backend.h" | 5 #include "content/public/test/test_file_system_backend.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/sequenced_task_runner.h" | 15 #include "base/sequenced_task_runner.h" |
16 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
17 #include "storage/browser/blob/file_stream_reader.h" | |
18 #include "storage/browser/fileapi/copy_or_move_file_validator.h" | 17 #include "storage/browser/fileapi/copy_or_move_file_validator.h" |
19 #include "storage/browser/fileapi/file_observers.h" | 18 #include "storage/browser/fileapi/file_observers.h" |
| 19 #include "storage/browser/fileapi/file_stream_reader.h" |
20 #include "storage/browser/fileapi/file_system_operation.h" | 20 #include "storage/browser/fileapi/file_system_operation.h" |
21 #include "storage/browser/fileapi/file_system_operation_context.h" | 21 #include "storage/browser/fileapi/file_system_operation_context.h" |
22 #include "storage/browser/fileapi/file_system_quota_util.h" | 22 #include "storage/browser/fileapi/file_system_quota_util.h" |
23 #include "storage/browser/fileapi/local_file_util.h" | 23 #include "storage/browser/fileapi/local_file_util.h" |
24 #include "storage/browser/fileapi/native_file_util.h" | 24 #include "storage/browser/fileapi/native_file_util.h" |
25 #include "storage/browser/fileapi/quota/quota_reservation.h" | 25 #include "storage/browser/fileapi/quota/quota_reservation.h" |
26 #include "storage/browser/fileapi/sandbox_file_stream_writer.h" | 26 #include "storage/browser/fileapi/sandbox_file_stream_writer.h" |
27 #include "storage/browser/quota/quota_manager.h" | 27 #include "storage/browser/quota/quota_manager.h" |
28 #include "storage/common/fileapi/file_system_util.h" | 28 #include "storage/common/fileapi/file_system_util.h" |
29 | 29 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 return nullptr; | 234 return nullptr; |
235 } | 235 } |
236 | 236 |
237 void TestFileSystemBackend::AddFileChangeObserver( | 237 void TestFileSystemBackend::AddFileChangeObserver( |
238 storage::FileChangeObserver* observer) { | 238 storage::FileChangeObserver* observer) { |
239 change_observers_ = | 239 change_observers_ = |
240 change_observers_.AddObserver(observer, task_runner_.get()); | 240 change_observers_.AddObserver(observer, task_runner_.get()); |
241 } | 241 } |
242 | 242 |
243 } // namespace content | 243 } // namespace content |
OLD | NEW |