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/fileapi/file_system_context.h" | 5 #include "webkit/fileapi/file_system_context.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 #include "webkit/blob/file_stream_reader.h" | 11 #include "webkit/blob/file_stream_reader.h" |
| 12 #include "webkit/browser/fileapi/copy_or_move_file_validator.h" |
| 13 #include "webkit/browser/fileapi/file_system_quota_client.h" |
12 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" | 14 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" |
13 #include "webkit/fileapi/copy_or_move_file_validator.h" | |
14 #include "webkit/fileapi/external_mount_points.h" | 15 #include "webkit/fileapi/external_mount_points.h" |
15 #include "webkit/fileapi/file_stream_writer.h" | 16 #include "webkit/fileapi/file_stream_writer.h" |
16 #include "webkit/fileapi/file_system_file_util.h" | 17 #include "webkit/fileapi/file_system_file_util.h" |
17 #include "webkit/fileapi/file_system_operation.h" | 18 #include "webkit/fileapi/file_system_operation.h" |
18 #include "webkit/fileapi/file_system_options.h" | 19 #include "webkit/fileapi/file_system_options.h" |
19 #include "webkit/fileapi/file_system_quota_client.h" | |
20 #include "webkit/fileapi/file_system_task_runners.h" | 20 #include "webkit/fileapi/file_system_task_runners.h" |
21 #include "webkit/fileapi/file_system_url.h" | 21 #include "webkit/fileapi/file_system_url.h" |
22 #include "webkit/fileapi/file_system_util.h" | 22 #include "webkit/fileapi/file_system_util.h" |
23 #include "webkit/fileapi/isolated_context.h" | 23 #include "webkit/fileapi/isolated_context.h" |
24 #include "webkit/fileapi/isolated_mount_point_provider.h" | 24 #include "webkit/fileapi/isolated_mount_point_provider.h" |
25 #include "webkit/fileapi/mount_points.h" | 25 #include "webkit/fileapi/mount_points.h" |
26 #include "webkit/fileapi/syncable/local_file_change_tracker.h" | 26 #include "webkit/fileapi/syncable/local_file_change_tracker.h" |
27 #include "webkit/fileapi/syncable/local_file_sync_context.h" | 27 #include "webkit/fileapi/syncable/local_file_sync_context.h" |
28 #include "webkit/fileapi/syncable/syncable_file_system_util.h" | 28 #include "webkit/fileapi/syncable/syncable_file_system_util.h" |
29 #include "webkit/fileapi/test_mount_point_provider.h" | 29 #include "webkit/fileapi/test_mount_point_provider.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 FileSystemType type = static_cast<FileSystemType>(t); | 412 FileSystemType type = static_cast<FileSystemType>(t); |
413 if (provider->CanHandleType(type)) { | 413 if (provider->CanHandleType(type)) { |
414 const bool inserted = provider_map_.insert( | 414 const bool inserted = provider_map_.insert( |
415 std::make_pair(type, provider)).second; | 415 std::make_pair(type, provider)).second; |
416 DCHECK(inserted); | 416 DCHECK(inserted); |
417 } | 417 } |
418 } | 418 } |
419 } | 419 } |
420 | 420 |
421 } // namespace fileapi | 421 } // namespace fileapi |
OLD | NEW |