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/file_system_context.h" | 5 #include "webkit/browser/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" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" | 24 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" |
25 #include "webkit/browser/fileapi/syncable/local_file_change_tracker.h" | 25 #include "webkit/browser/fileapi/syncable/local_file_change_tracker.h" |
26 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" | 26 #include "webkit/browser/fileapi/syncable/local_file_sync_context.h" |
27 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h" | 27 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h" |
28 #include "webkit/browser/fileapi/test_mount_point_provider.h" | 28 #include "webkit/browser/fileapi/test_mount_point_provider.h" |
29 #include "webkit/common/fileapi/file_system_util.h" | 29 #include "webkit/common/fileapi/file_system_util.h" |
30 #include "webkit/quota/quota_manager.h" | 30 #include "webkit/quota/quota_manager.h" |
31 #include "webkit/quota/special_storage_policy.h" | 31 #include "webkit/quota/special_storage_policy.h" |
32 | 32 |
33 #if defined(OS_CHROMEOS) | 33 #if defined(OS_CHROMEOS) |
34 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" | 34 #include "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h" |
35 #endif | 35 #endif |
36 | 36 |
37 using quota::QuotaClient; | 37 using quota::QuotaClient; |
38 | 38 |
39 namespace fileapi { | 39 namespace fileapi { |
40 | 40 |
41 namespace { | 41 namespace { |
42 | 42 |
43 QuotaClient* CreateQuotaClient( | 43 QuotaClient* CreateQuotaClient( |
44 FileSystemContext* context, | 44 FileSystemContext* context, |
(...skipping 367 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 |