| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/browser/fileapi/sandbox_file_system_backend.h" | 5 #include "webkit/browser/fileapi/sandbox_file_system_backend.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
| 11 #include "base/task_runner_util.h" | 11 #include "base/task_runner_util.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 #include "webkit/browser/fileapi/async_file_util_adapter.h" | 13 #include "webkit/browser/fileapi/async_file_util_adapter.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_system_context.h" | 15 #include "webkit/browser/fileapi/file_system_context.h" |
| 16 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" | 16 #include "webkit/browser/fileapi/file_system_file_stream_reader.h" |
| 17 #include "webkit/browser/fileapi/file_system_operation_context.h" | 17 #include "webkit/browser/fileapi/file_system_operation_context.h" |
| 18 #include "webkit/browser/fileapi/file_system_operation_impl.h" | 18 #include "webkit/browser/fileapi/file_system_operation_impl.h" |
| 19 #include "webkit/browser/fileapi/file_system_options.h" | 19 #include "webkit/browser/fileapi/file_system_options.h" |
| 20 #include "webkit/browser/fileapi/file_system_task_runners.h" | |
| 21 #include "webkit/browser/fileapi/file_system_usage_cache.h" | 20 #include "webkit/browser/fileapi/file_system_usage_cache.h" |
| 22 #include "webkit/browser/fileapi/obfuscated_file_util.h" | 21 #include "webkit/browser/fileapi/obfuscated_file_util.h" |
| 23 #include "webkit/browser/fileapi/sandbox_context.h" | 22 #include "webkit/browser/fileapi/sandbox_context.h" |
| 24 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h" | 23 #include "webkit/browser/fileapi/sandbox_file_stream_writer.h" |
| 25 #include "webkit/browser/fileapi/sandbox_quota_observer.h" | 24 #include "webkit/browser/fileapi/sandbox_quota_observer.h" |
| 26 #include "webkit/browser/quota/quota_manager.h" | 25 #include "webkit/browser/quota/quota_manager.h" |
| 27 #include "webkit/common/fileapi/file_system_types.h" | 26 #include "webkit/common/fileapi/file_system_types.h" |
| 28 #include "webkit/common/fileapi/file_system_util.h" | 27 #include "webkit/common/fileapi/file_system_util.h" |
| 29 | 28 |
| 30 using quota::QuotaManagerProxy; | 29 using quota::QuotaManagerProxy; |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 return &change_observers_; | 265 return &change_observers_; |
| 267 } | 266 } |
| 268 | 267 |
| 269 const AccessObserverList* SandboxFileSystemBackend::GetAccessObservers( | 268 const AccessObserverList* SandboxFileSystemBackend::GetAccessObservers( |
| 270 FileSystemType type) const { | 269 FileSystemType type) const { |
| 271 DCHECK(CanHandleType(type)); | 270 DCHECK(CanHandleType(type)); |
| 272 return &access_observers_; | 271 return &access_observers_; |
| 273 } | 272 } |
| 274 | 273 |
| 275 } // namespace fileapi | 274 } // namespace fileapi |
| OLD | NEW |