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 <stddef.h> | 5 #include <stddef.h> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/base_switches.h" | 8 #include "base/base_switches.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
11 #include "base/debug/leak_annotations.h" | 11 #include "base/debug/leak_annotations.h" |
12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
15 #include "base/metrics/statistics_recorder.h" | 15 #include "base/metrics/statistics_recorder.h" |
16 #include "base/pending_task.h" | 16 #include "base/pending_task.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
20 #include "base/threading/platform_thread.h" | 20 #include "base/threading/platform_thread.h" |
21 #include "base/timer/hi_res_timer_manager.h" | 21 #include "base/timer/hi_res_timer_manager.h" |
22 #include "base/trace_event/trace_event.h" | 22 #include "base/trace_event/trace_event.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "content/child/child_process.h" | 24 #include "content/child/child_process.h" |
25 #include "content/common/content_constants_internal.h" | 25 #include "content/common/content_constants_internal.h" |
26 #include "content/common/mojo/mojo_shell_connection_impl.h" | 26 #include "content/common/service_manager/service_manager_connection_impl.h" |
27 #include "content/public/common/content_switches.h" | 27 #include "content/public/common/content_switches.h" |
28 #include "content/public/common/main_function_params.h" | 28 #include "content/public/common/main_function_params.h" |
29 #include "content/public/renderer/content_renderer_client.h" | 29 #include "content/public/renderer/content_renderer_client.h" |
30 #include "content/renderer/render_process_impl.h" | 30 #include "content/renderer/render_process_impl.h" |
31 #include "content/renderer/render_thread_impl.h" | 31 #include "content/renderer/render_thread_impl.h" |
32 #include "content/renderer/renderer_main_platform_delegate.h" | 32 #include "content/renderer/renderer_main_platform_delegate.h" |
33 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 33 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
34 #include "third_party/skia/include/core/SkGraphics.h" | 34 #include "third_party/skia/include/core/SkGraphics.h" |
35 #include "ui/base/ui_base_switches.h" | 35 #include "ui/base/ui_base_switches.h" |
36 | 36 |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // ignore shutdown-only leaks. | 204 // ignore shutdown-only leaks. |
205 __lsan_do_leak_check(); | 205 __lsan_do_leak_check(); |
206 #endif | 206 #endif |
207 } | 207 } |
208 platform.PlatformUninitialize(); | 208 platform.PlatformUninitialize(); |
209 TRACE_EVENT_ASYNC_END0("startup", "RendererMain", 0); | 209 TRACE_EVENT_ASYNC_END0("startup", "RendererMain", 0); |
210 return 0; | 210 return 0; |
211 } | 211 } |
212 | 212 |
213 } // namespace content | 213 } // namespace content |
OLD | NEW |