| 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 "base/base_switches.h" | 5 #include "base/base_switches.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/debug/debugger.h" | 7 #include "base/debug/debugger.h" |
| 8 #include "base/debug/stack_trace.h" | 8 #include "base/debug/stack_trace.h" |
| 9 #include "base/debug/trace_event.h" | |
| 10 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" |
| 11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 12 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 13 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
| 14 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 15 #include "base/metrics/statistics_recorder.h" | 14 #include "base/metrics/statistics_recorder.h" |
| 16 #include "base/metrics/stats_counters.h" | 15 #include "base/metrics/stats_counters.h" |
| 17 #include "base/pending_task.h" | 16 #include "base/pending_task.h" |
| 18 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
| 19 #include "base/sys_info.h" | 18 #include "base/sys_info.h" |
| 20 #include "base/threading/platform_thread.h" | 19 #include "base/threading/platform_thread.h" |
| 21 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 22 #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" |
| 23 #include "content/child/child_process.h" | 23 #include "content/child/child_process.h" |
| 24 #include "content/common/content_constants_internal.h" | 24 #include "content/common/content_constants_internal.h" |
| 25 #include "content/public/common/content_switches.h" | 25 #include "content/public/common/content_switches.h" |
| 26 #include "content/public/common/main_function_params.h" | 26 #include "content/public/common/main_function_params.h" |
| 27 #include "content/public/renderer/content_renderer_client.h" | 27 #include "content/public/renderer/content_renderer_client.h" |
| 28 #include "content/renderer/render_process_impl.h" | 28 #include "content/renderer/render_process_impl.h" |
| 29 #include "content/renderer/render_thread_impl.h" | 29 #include "content/renderer/render_thread_impl.h" |
| 30 #include "content/renderer/renderer_main_platform_delegate.h" | 30 #include "content/renderer/renderer_main_platform_delegate.h" |
| 31 #include "ui/base/ui_base_switches.h" | 31 #include "ui/base/ui_base_switches.h" |
| 32 | 32 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 base::MessageLoop::current()->Run(); | 228 base::MessageLoop::current()->Run(); |
| 229 TRACE_EVENT_END_ETW("RendererMain.START_MSG_LOOP", 0, 0); | 229 TRACE_EVENT_END_ETW("RendererMain.START_MSG_LOOP", 0, 0); |
| 230 } | 230 } |
| 231 } | 231 } |
| 232 platform.PlatformUninitialize(); | 232 platform.PlatformUninitialize(); |
| 233 TRACE_EVENT_END_ETW("RendererMain", 0, ""); | 233 TRACE_EVENT_END_ETW("RendererMain", 0, ""); |
| 234 return 0; | 234 return 0; |
| 235 } | 235 } |
| 236 | 236 |
| 237 } // namespace content | 237 } // namespace content |
| OLD | NEW |