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/renderer/renderer_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
11 #include "base/message_loop/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/numerics/safe_conversions.h" | 13 #include "base/numerics/safe_conversions.h" |
14 #include "base/platform_file.h" | |
15 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
17 #include "content/child/blink_glue.h" | 16 #include "content/child/blink_glue.h" |
18 #include "content/child/database_util.h" | 17 #include "content/child/database_util.h" |
19 #include "content/child/fileapi/webfilesystem_impl.h" | 18 #include "content/child/fileapi/webfilesystem_impl.h" |
20 #include "content/child/indexed_db/webidbfactory_impl.h" | 19 #include "content/child/indexed_db/webidbfactory_impl.h" |
21 #include "content/child/npapi/npobject_util.h" | 20 #include "content/child/npapi/npobject_util.h" |
22 #include "content/child/quota_dispatcher.h" | 21 #include "content/child/quota_dispatcher.h" |
23 #include "content/child/quota_message_filter.h" | 22 #include "content/child/quota_message_filter.h" |
24 #include "content/child/simple_webmimeregistry_impl.h" | 23 #include "content/child/simple_webmimeregistry_impl.h" |
(...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 return; | 1175 return; |
1177 QuotaDispatcher::ThreadSpecificInstance( | 1176 QuotaDispatcher::ThreadSpecificInstance( |
1178 thread_safe_sender_.get(), | 1177 thread_safe_sender_.get(), |
1179 quota_message_filter_.get())->QueryStorageUsageAndQuota( | 1178 quota_message_filter_.get())->QueryStorageUsageAndQuota( |
1180 storage_partition, | 1179 storage_partition, |
1181 static_cast<quota::StorageType>(type), | 1180 static_cast<quota::StorageType>(type), |
1182 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 1181 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
1183 } | 1182 } |
1184 | 1183 |
1185 } // namespace content | 1184 } // namespace content |
OLD | NEW |