| 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/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/sequenced_task_runner.h" | 12 #include "base/sequenced_task_runner.h" |
| 13 #include "webkit/browser/blob/file_stream_reader.h" | 13 #include "webkit/browser/blob/file_stream_reader.h" |
| 14 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" | 14 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" |
| 15 #include "webkit/browser/fileapi/file_observers.h" | 15 #include "webkit/browser/fileapi/file_access_observer.h" |
| 16 #include "webkit/browser/fileapi/file_change_observer.h" |
| 16 #include "webkit/browser/fileapi/file_system_operation.h" | 17 #include "webkit/browser/fileapi/file_system_operation.h" |
| 17 #include "webkit/browser/fileapi/file_system_operation_context.h" | 18 #include "webkit/browser/fileapi/file_system_operation_context.h" |
| 18 #include "webkit/browser/fileapi/file_system_quota_util.h" | 19 #include "webkit/browser/fileapi/file_system_quota_util.h" |
| 20 #include "webkit/browser/fileapi/file_update_observer.h" |
| 19 #include "webkit/browser/fileapi/local_file_util.h" | 21 #include "webkit/browser/fileapi/local_file_util.h" |
| 20 #include "webkit/browser/fileapi/native_file_util.h" | 22 #include "webkit/browser/fileapi/native_file_util.h" |
| 21 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h" | 23 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h" |
| 22 #include "webkit/browser/quota/quota_manager.h" | 24 #include "webkit/browser/quota/quota_manager.h" |
| 23 #include "webkit/common/fileapi/file_system_util.h" | 25 #include "webkit/common/fileapi/file_system_util.h" |
| 24 | 26 |
| 25 namespace fileapi { | 27 namespace fileapi { |
| 26 | 28 |
| 27 namespace { | 29 namespace { |
| 28 | 30 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 return quota_util_->GetUpdateObservers(type); | 240 return quota_util_->GetUpdateObservers(type); |
| 239 } | 241 } |
| 240 | 242 |
| 241 void TestFileSystemBackend::AddFileChangeObserver( | 243 void TestFileSystemBackend::AddFileChangeObserver( |
| 242 FileChangeObserver* observer) { | 244 FileChangeObserver* observer) { |
| 243 quota_util_->AddFileChangeObserver( | 245 quota_util_->AddFileChangeObserver( |
| 244 kFileSystemTypeTest, observer, quota_util_->task_runner()); | 246 kFileSystemTypeTest, observer, quota_util_->task_runner()); |
| 245 } | 247 } |
| 246 | 248 |
| 247 } // namespace fileapi | 249 } // namespace fileapi |
| OLD | NEW |