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_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
15 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
16 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
17 #include "base/numerics/safe_conversions.h" | 17 #include "base/numerics/safe_conversions.h" |
18 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
21 #include "base/threading/thread_task_runner_handle.h" | 21 #include "base/threading/thread_task_runner_handle.h" |
22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
23 #include "components/scheduler/child/web_scheduler_impl.h" | 23 #include "components/scheduler/child/web_scheduler_impl.h" |
24 #include "components/scheduler/child/web_task_runner_impl.h" | 24 #include "components/scheduler/child/web_task_runner_impl.h" |
25 #include "components/scheduler/renderer/renderer_scheduler.h" | 25 #include "components/scheduler/renderer/renderer_scheduler.h" |
26 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" | 26 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" |
27 #include "components/url_formatter/url_formatter.h" | 27 #include "components/url_formatter/url_formatter.h" |
| 28 #include "content/child/blob_storage/webblobregistry_impl.h" |
28 #include "content/child/database_util.h" | 29 #include "content/child/database_util.h" |
29 #include "content/child/file_info_util.h" | 30 #include "content/child/file_info_util.h" |
30 #include "content/child/fileapi/webfilesystem_impl.h" | 31 #include "content/child/fileapi/webfilesystem_impl.h" |
31 #include "content/child/indexed_db/webidbfactory_impl.h" | 32 #include "content/child/indexed_db/webidbfactory_impl.h" |
32 #include "content/child/quota_dispatcher.h" | 33 #include "content/child/quota_dispatcher.h" |
33 #include "content/child/quota_message_filter.h" | 34 #include "content/child/quota_message_filter.h" |
34 #include "content/child/simple_webmimeregistry_impl.h" | 35 #include "content/child/simple_webmimeregistry_impl.h" |
35 #include "content/child/storage_util.h" | 36 #include "content/child/storage_util.h" |
36 #include "content/child/thread_safe_sender.h" | 37 #include "content/child/thread_safe_sender.h" |
37 #include "content/child/web_database_observer_impl.h" | 38 #include "content/child/web_database_observer_impl.h" |
38 #include "content/child/web_url_loader_impl.h" | 39 #include "content/child/web_url_loader_impl.h" |
39 #include "content/child/webblobregistry_impl.h" | |
40 #include "content/child/webfileutilities_impl.h" | 40 #include "content/child/webfileutilities_impl.h" |
41 #include "content/child/webmessageportchannel_impl.h" | 41 #include "content/child/webmessageportchannel_impl.h" |
42 #include "content/common/file_utilities_messages.h" | 42 #include "content/common/file_utilities_messages.h" |
43 #include "content/common/frame_messages.h" | 43 #include "content/common/frame_messages.h" |
44 #include "content/common/gpu/client/context_provider_command_buffer.h" | 44 #include "content/common/gpu/client/context_provider_command_buffer.h" |
45 #include "content/common/gpu_process_launch_causes.h" | 45 #include "content/common/gpu_process_launch_causes.h" |
46 #include "content/common/mime_registry_messages.h" | 46 #include "content/common/mime_registry_messages.h" |
47 #include "content/common/render_process_messages.h" | 47 #include "content/common/render_process_messages.h" |
48 #include "content/public/common/content_switches.h" | 48 #include "content/public/common/content_switches.h" |
49 #include "content/public/common/service_registry.h" | 49 #include "content/public/common/service_registry.h" |
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 return &trial_token_validator_; | 1330 return &trial_token_validator_; |
1331 } | 1331 } |
1332 | 1332 |
1333 void RendererBlinkPlatformImpl::workerContextCreated( | 1333 void RendererBlinkPlatformImpl::workerContextCreated( |
1334 const v8::Local<v8::Context>& worker) { | 1334 const v8::Local<v8::Context>& worker) { |
1335 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( | 1335 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( |
1336 worker); | 1336 worker); |
1337 } | 1337 } |
1338 | 1338 |
1339 } // namespace content | 1339 } // namespace content |
OLD | NEW |