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" | 14 #include "base/platform_file.h" |
15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "content/child/blink_glue.h" | 17 #include "content/child/blink_glue.h" |
18 #include "content/child/database_util.h" | 18 #include "content/child/database_util.h" |
19 #include "content/child/fileapi/webfilesystem_impl.h" | 19 #include "content/child/fileapi/webfilesystem_impl.h" |
20 #include "content/child/indexed_db/webidbfactory_impl.h" | 20 #include "content/child/indexed_db/webidbfactory_impl.h" |
21 #include "content/child/npapi/npobject_util.h" | 21 #include "content/child/npapi/npobject_util.h" |
22 #include "content/child/quota_dispatcher.h" | 22 #include "content/child/quota_dispatcher.h" |
23 #include "content/child/quota_message_filter.h" | 23 #include "content/child/quota_message_filter.h" |
24 #include "content/child/simple_webmimeregistry_impl.h" | 24 #include "content/child/simple_webmimeregistry_impl.h" |
25 #include "content/child/thread_safe_sender.h" | 25 #include "content/child/thread_safe_sender.h" |
26 #include "content/child/web_database_observer_impl.h" | 26 #include "content/child/web_database_observer_impl.h" |
27 #include "content/child/webblobregistry_impl.h" | 27 #include "content/child/webblobregistry_impl.h" |
| 28 #include "content/child/webcrypto/webcrypto_impl.h" |
28 #include "content/child/webfileutilities_impl.h" | 29 #include "content/child/webfileutilities_impl.h" |
29 #include "content/child/webmessageportchannel_impl.h" | 30 #include "content/child/webmessageportchannel_impl.h" |
30 #include "content/common/file_utilities_messages.h" | 31 #include "content/common/file_utilities_messages.h" |
31 #include "content/common/gpu/client/context_provider_command_buffer.h" | 32 #include "content/common/gpu/client/context_provider_command_buffer.h" |
32 #include "content/common/gpu/client/gpu_channel_host.h" | 33 #include "content/common/gpu/client/gpu_channel_host.h" |
33 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 34 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
34 #include "content/common/gpu/gpu_process_launch_causes.h" | 35 #include "content/common/gpu/gpu_process_launch_causes.h" |
35 #include "content/common/mime_registry_messages.h" | 36 #include "content/common/mime_registry_messages.h" |
36 #include "content/common/screen_orientation_messages.h" | 37 #include "content/common/screen_orientation_messages.h" |
37 #include "content/common/view_messages.h" | 38 #include "content/common/view_messages.h" |
38 #include "content/public/common/content_switches.h" | 39 #include "content/public/common/content_switches.h" |
39 #include "content/public/common/webplugininfo.h" | 40 #include "content/public/common/webplugininfo.h" |
40 #include "content/public/renderer/content_renderer_client.h" | 41 #include "content/public/renderer/content_renderer_client.h" |
41 #include "content/renderer/device_orientation/device_motion_event_pump.h" | 42 #include "content/renderer/device_orientation/device_motion_event_pump.h" |
42 #include "content/renderer/device_orientation/device_orientation_event_pump.h" | 43 #include "content/renderer/device_orientation/device_orientation_event_pump.h" |
43 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 44 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
44 #include "content/renderer/gamepad_shared_memory_reader.h" | 45 #include "content/renderer/gamepad_shared_memory_reader.h" |
45 #include "content/renderer/media/audio_decoder.h" | 46 #include "content/renderer/media/audio_decoder.h" |
46 #include "content/renderer/media/crypto/key_systems.h" | 47 #include "content/renderer/media/crypto/key_systems.h" |
47 #include "content/renderer/media/media_stream_dependency_factory.h" | 48 #include "content/renderer/media/media_stream_dependency_factory.h" |
48 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 49 #include "content/renderer/media/renderer_webaudiodevice_impl.h" |
49 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" | 50 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" |
50 #include "content/renderer/media/webcontentdecryptionmodule_impl.h" | 51 #include "content/renderer/media/webcontentdecryptionmodule_impl.h" |
51 #include "content/renderer/render_thread_impl.h" | 52 #include "content/renderer/render_thread_impl.h" |
52 #include "content/renderer/renderer_clipboard_client.h" | 53 #include "content/renderer/renderer_clipboard_client.h" |
53 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h" | 54 #include "content/renderer/screen_orientation/screen_orientation_dispatcher.h" |
54 #include "content/renderer/webclipboard_impl.h" | 55 #include "content/renderer/webclipboard_impl.h" |
55 #include "content/renderer/webcrypto/webcrypto_impl.h" | |
56 #include "content/renderer/webgraphicscontext3d_provider_impl.h" | 56 #include "content/renderer/webgraphicscontext3d_provider_impl.h" |
57 #include "content/renderer/webpublicsuffixlist_impl.h" | 57 #include "content/renderer/webpublicsuffixlist_impl.h" |
58 #include "gpu/config/gpu_info.h" | 58 #include "gpu/config/gpu_info.h" |
59 #include "ipc/ipc_sync_message_filter.h" | 59 #include "ipc/ipc_sync_message_filter.h" |
60 #include "media/audio/audio_output_device.h" | 60 #include "media/audio/audio_output_device.h" |
61 #include "media/base/audio_hardware_config.h" | 61 #include "media/base/audio_hardware_config.h" |
62 #include "media/filters/stream_parser_factory.h" | 62 #include "media/filters/stream_parser_factory.h" |
63 #include "net/base/mime_util.h" | 63 #include "net/base/mime_util.h" |
64 #include "net/base/net_util.h" | 64 #include "net/base/net_util.h" |
65 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" | 65 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1155 return; | 1155 return; |
1156 QuotaDispatcher::ThreadSpecificInstance( | 1156 QuotaDispatcher::ThreadSpecificInstance( |
1157 thread_safe_sender_.get(), | 1157 thread_safe_sender_.get(), |
1158 quota_message_filter_.get())->QueryStorageUsageAndQuota( | 1158 quota_message_filter_.get())->QueryStorageUsageAndQuota( |
1159 storage_partition, | 1159 storage_partition, |
1160 static_cast<quota::StorageType>(type), | 1160 static_cast<quota::StorageType>(type), |
1161 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); | 1161 QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
1162 } | 1162 } |
1163 | 1163 |
1164 } // namespace content | 1164 } // namespace content |
OLD | NEW |