| 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> |
| 6 |
| 5 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 6 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 7 #include "base/debug/debugger.h" | 9 #include "base/debug/debugger.h" |
| 8 #include "base/debug/leak_annotations.h" | 10 #include "base/debug/leak_annotations.h" |
| 9 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
| 10 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
| 11 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 12 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
| 13 #include "base/metrics/histogram.h" | 15 #include "base/metrics/histogram.h" |
| 14 #include "base/metrics/statistics_recorder.h" | 16 #include "base/metrics/statistics_recorder.h" |
| 15 #include "base/pending_task.h" | 17 #include "base/pending_task.h" |
| 16 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
| 17 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
| 18 #include "base/threading/platform_thread.h" | 20 #include "base/threading/platform_thread.h" |
| 19 #include "base/time/time.h" | 21 #include "base/time/time.h" |
| 20 #include "base/timer/hi_res_timer_manager.h" | 22 #include "base/timer/hi_res_timer_manager.h" |
| 21 #include "base/trace_event/trace_event.h" | 23 #include "base/trace_event/trace_event.h" |
| 24 #include "build/build_config.h" |
| 22 #include "components/scheduler/renderer/renderer_scheduler.h" | 25 #include "components/scheduler/renderer/renderer_scheduler.h" |
| 23 #include "components/startup_metric_utils/common/startup_metric_messages.h" | 26 #include "components/startup_metric_utils/common/startup_metric_messages.h" |
| 24 #include "content/child/child_process.h" | 27 #include "content/child/child_process.h" |
| 25 #include "content/common/content_constants_internal.h" | 28 #include "content/common/content_constants_internal.h" |
| 26 #include "content/public/common/content_switches.h" | 29 #include "content/public/common/content_switches.h" |
| 27 #include "content/public/common/main_function_params.h" | 30 #include "content/public/common/main_function_params.h" |
| 28 #include "content/public/renderer/content_renderer_client.h" | 31 #include "content/public/renderer/content_renderer_client.h" |
| 29 #include "content/renderer/render_process_impl.h" | 32 #include "content/renderer/render_process_impl.h" |
| 30 #include "content/renderer/render_thread_impl.h" | 33 #include "content/renderer/render_thread_impl.h" |
| 31 #include "content/renderer/renderer_main_platform_delegate.h" | 34 #include "content/renderer/renderer_main_platform_delegate.h" |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // ignore shutdown-only leaks. | 236 // ignore shutdown-only leaks. |
| 234 __lsan_do_leak_check(); | 237 __lsan_do_leak_check(); |
| 235 #endif | 238 #endif |
| 236 } | 239 } |
| 237 platform.PlatformUninitialize(); | 240 platform.PlatformUninitialize(); |
| 238 TRACE_EVENT_ASYNC_END0("startup", "RendererMain", 0); | 241 TRACE_EVENT_ASYNC_END0("startup", "RendererMain", 0); |
| 239 return 0; | 242 return 0; |
| 240 } | 243 } |
| 241 | 244 |
| 242 } // namespace content | 245 } // namespace content |
| OLD | NEW |