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/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 #include "webkit/fileapi/file_system_file_util.h" | 12 #include "webkit/fileapi/file_system_file_util.h" |
13 #include "webkit/fileapi/file_system_operation.h" | 13 #include "webkit/fileapi/file_system_operation.h" |
14 #include "webkit/fileapi/file_system_options.h" | 14 #include "webkit/fileapi/file_system_options.h" |
15 #include "webkit/fileapi/file_system_quota_client.h" | 15 #include "webkit/fileapi/file_system_quota_client.h" |
16 #include "webkit/fileapi/file_system_task_runners.h" | 16 #include "webkit/fileapi/file_system_task_runners.h" |
17 #include "webkit/fileapi/file_system_url.h" | 17 #include "webkit/fileapi/file_system_url.h" |
18 #include "webkit/fileapi/file_system_util.h" | 18 #include "webkit/fileapi/file_system_util.h" |
19 #include "webkit/fileapi/isolated_context.h" | 19 #include "webkit/fileapi/isolated_context.h" |
20 #include "webkit/fileapi/isolated_mount_point_provider.h" | 20 #include "webkit/fileapi/isolated_mount_point_provider.h" |
21 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 21 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
22 #include "webkit/fileapi/syncable/local_file_change_tracker.h" | 22 #include "webkit/fileapi/syncable/local_file_change_tracker.h" |
23 #include "webkit/fileapi/syncable/syncable_context.h" | |
tzik
2012/10/11 09:42:53
this is also included in header.
kinuko
2012/10/11 10:13:02
Removed the header's include line.
| |
23 #include "webkit/fileapi/test_mount_point_provider.h" | 24 #include "webkit/fileapi/test_mount_point_provider.h" |
24 #include "webkit/quota/quota_manager.h" | 25 #include "webkit/quota/quota_manager.h" |
25 #include "webkit/quota/special_storage_policy.h" | 26 #include "webkit/quota/special_storage_policy.h" |
26 | 27 |
27 #if defined(OS_CHROMEOS) | 28 #if defined(OS_CHROMEOS) |
28 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" | 29 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" |
29 #endif | 30 #endif |
30 | 31 |
31 using quota::QuotaClient; | 32 using quota::QuotaClient; |
32 | 33 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
301 if (!task_runners_->io_task_runner()->RunsTasksOnCurrentThread() && | 302 if (!task_runners_->io_task_runner()->RunsTasksOnCurrentThread() && |
302 task_runners_->io_task_runner()->DeleteSoon(FROM_HERE, this)) { | 303 task_runners_->io_task_runner()->DeleteSoon(FROM_HERE, this)) { |
303 return; | 304 return; |
304 } | 305 } |
305 STLDeleteContainerPairSecondPointers(provider_map_.begin(), | 306 STLDeleteContainerPairSecondPointers(provider_map_.begin(), |
306 provider_map_.end()); | 307 provider_map_.end()); |
307 delete this; | 308 delete this; |
308 } | 309 } |
309 | 310 |
310 } // namespace fileapi | 311 } // namespace fileapi |
OLD | NEW |