| 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" | |
| 12 #include "base/files/file.h" | 11 #include "base/files/file.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 "webkit/browser/blob/file_stream_reader.h" | 17 #include "webkit/browser/blob/file_stream_reader.h" |
| 18 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" | 18 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" |
| 19 #include "webkit/browser/fileapi/file_observers.h" | 19 #include "webkit/browser/fileapi/file_observers.h" |
| 20 #include "webkit/browser/fileapi/file_system_operation.h" | 20 #include "webkit/browser/fileapi/file_system_operation.h" |
| 21 #include "webkit/browser/fileapi/file_system_operation_context.h" | 21 #include "webkit/browser/fileapi/file_system_operation_context.h" |
| 22 #include "webkit/browser/fileapi/file_system_quota_util.h" | 22 #include "webkit/browser/fileapi/file_system_quota_util.h" |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 return quota_util_->GetUpdateObservers(type); | 368 return quota_util_->GetUpdateObservers(type); |
| 369 } | 369 } |
| 370 | 370 |
| 371 void TestFileSystemBackend::AddFileChangeObserver( | 371 void TestFileSystemBackend::AddFileChangeObserver( |
| 372 storage::FileChangeObserver* observer) { | 372 storage::FileChangeObserver* observer) { |
| 373 quota_util_->AddFileChangeObserver( | 373 quota_util_->AddFileChangeObserver( |
| 374 storage::kFileSystemTypeTest, observer, quota_util_->task_runner()); | 374 storage::kFileSystemTypeTest, observer, quota_util_->task_runner()); |
| 375 } | 375 } |
| 376 | 376 |
| 377 } // namespace content | 377 } // namespace content |
| OLD | NEW |