OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_main.h" | |
6 | |
7 #include "base/command_line.h" | 5 #include "base/command_line.h" |
8 #include "base/debug/trace_event.h" | 6 #include "base/debug/trace_event.h" |
9 #include "base/i18n/rtl.h" | 7 #include "base/i18n/rtl.h" |
10 #include "base/mac/scoped_nsautorelease_pool.h" | 8 #include "base/mac/scoped_nsautorelease_pool.h" |
11 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
12 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
13 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
14 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
15 #include "base/metrics/stats_counters.h" | 13 #include "base/metrics/stats_counters.h" |
16 #include "base/path_service.h" | 14 #include "base/path_service.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 pool->Recycle(); | 226 pool->Recycle(); |
229 TRACE_EVENT_BEGIN_ETW("RendererMain.START_MSG_LOOP", 0, 0); | 227 TRACE_EVENT_BEGIN_ETW("RendererMain.START_MSG_LOOP", 0, 0); |
230 MessageLoop::current()->Run(); | 228 MessageLoop::current()->Run(); |
231 TRACE_EVENT_END_ETW("RendererMain.START_MSG_LOOP", 0, 0); | 229 TRACE_EVENT_END_ETW("RendererMain.START_MSG_LOOP", 0, 0); |
232 } | 230 } |
233 } | 231 } |
234 platform.PlatformUninitialize(); | 232 platform.PlatformUninitialize(); |
235 TRACE_EVENT_END_ETW("RendererMain", 0, ""); | 233 TRACE_EVENT_END_ETW("RendererMain", 0, ""); |
236 return 0; | 234 return 0; |
237 } | 235 } |
OLD | NEW |