Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Side by Side Diff: chrome/renderer/renderer_main.cc

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #if defined(OS_MACOSX) 5 #if defined(OS_MACOSX)
6 #include <signal.h> 6 #include <signal.h>
7 #include <unistd.h> 7 #include <unistd.h>
8 #endif // OS_MACOSX 8 #endif // OS_MACOSX
9 9
10 #include "app/hi_res_timer_manager.h" 10 #include "app/hi_res_timer_manager.h"
11 #include "app/system_monitor.h" 11 #include "app/system_monitor.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/debug/trace_event.h"
13 #include "base/mac/scoped_nsautorelease_pool.h" 14 #include "base/mac/scoped_nsautorelease_pool.h"
14 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
15 #include "base/message_loop.h" 16 #include "base/message_loop.h"
16 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
17 #include "base/metrics/stats_counters.h" 18 #include "base/metrics/stats_counters.h"
18 #include "base/path_service.h" 19 #include "base/path_service.h"
19 #include "base/platform_thread.h" 20 #include "base/platform_thread.h"
20 #include "base/process_util.h" 21 #include "base/process_util.h"
21 #include "base/string_util.h" 22 #include "base/string_util.h"
22 #include "base/trace_event.h"
23 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
24 #include "chrome/common/chrome_counters.h" 24 #include "chrome/common/chrome_counters.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/logging_chrome.h" 26 #include "chrome/common/logging_chrome.h"
27 #include "chrome/common/main_function_params.h" 27 #include "chrome/common/main_function_params.h"
28 #include "chrome/common/net/net_resource_provider.h" 28 #include "chrome/common/net/net_resource_provider.h"
29 #include "chrome/common/pepper_plugin_registry.h" 29 #include "chrome/common/pepper_plugin_registry.h"
30 #include "chrome/renderer/renderer_main_platform_delegate.h" 30 #include "chrome/renderer/renderer_main_platform_delegate.h"
31 #include "chrome/renderer/render_process_impl.h" 31 #include "chrome/renderer/render_process_impl.h"
32 #include "chrome/renderer/render_thread.h" 32 #include "chrome/renderer/render_thread.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 pool->Recycle(); 292 pool->Recycle();
293 TRACE_EVENT_BEGIN("RendererMain.START_MSG_LOOP", 0, 0); 293 TRACE_EVENT_BEGIN("RendererMain.START_MSG_LOOP", 0, 0);
294 MessageLoop::current()->Run(); 294 MessageLoop::current()->Run();
295 TRACE_EVENT_END("RendererMain.START_MSG_LOOP", 0, 0); 295 TRACE_EVENT_END("RendererMain.START_MSG_LOOP", 0, 0);
296 } 296 }
297 } 297 }
298 platform.PlatformUninitialize(); 298 platform.PlatformUninitialize();
299 TRACE_EVENT_END("RendererMain", 0, ""); 299 TRACE_EVENT_END("RendererMain", 0, "");
300 return 0; 300 return 0;
301 } 301 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698