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 "content/worker/worker_webkitplatformsupport_impl.h" | 5 #include "content/worker/worker_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "base/platform_file.h" | |
11 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
12 #include "content/child/blink_glue.h" | 11 #include "content/child/blink_glue.h" |
13 #include "content/child/database_util.h" | 12 #include "content/child/database_util.h" |
14 #include "content/child/fileapi/webfilesystem_impl.h" | 13 #include "content/child/fileapi/webfilesystem_impl.h" |
15 #include "content/child/indexed_db/webidbfactory_impl.h" | 14 #include "content/child/indexed_db/webidbfactory_impl.h" |
16 #include "content/child/quota_dispatcher.h" | 15 #include "content/child/quota_dispatcher.h" |
17 #include "content/child/quota_message_filter.h" | 16 #include "content/child/quota_message_filter.h" |
18 #include "content/child/thread_safe_sender.h" | 17 #include "content/child/thread_safe_sender.h" |
19 #include "content/child/web_database_observer_impl.h" | 18 #include "content/child/web_database_observer_impl.h" |
20 #include "content/child/webblobregistry_impl.h" | 19 #include "content/child/webblobregistry_impl.h" |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 return; | 306 return; |
308 QuotaDispatcher::ThreadSpecificInstance( | 307 QuotaDispatcher::ThreadSpecificInstance( |
309 thread_safe_sender_.get(), | 308 thread_safe_sender_.get(), |
310 quota_message_filter_.get())->QueryStorageUsageAndQuota( | 309 quota_message_filter_.get())->QueryStorageUsageAndQuota( |
311 storage_partition, | 310 storage_partition, |
312 static_cast<quota::StorageType>(type), | 311 static_cast<quota::StorageType>(type), |
313 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 312 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
314 } | 313 } |
315 | 314 |
316 } // namespace content | 315 } // namespace content |
OLD | NEW |