| OLD | NEW |
| 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/l10n_util.h" | |
| 12 #include "app/resource_bundle.h" | |
| 13 #include "app/system_monitor.h" | 11 #include "app/system_monitor.h" |
| 14 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 15 #include "base/field_trial.h" | 13 #include "base/field_trial.h" |
| 16 #include "base/histogram.h" | 14 #include "base/histogram.h" |
| 17 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 18 #include "base/path_service.h" | 16 #include "base/path_service.h" |
| 19 #include "base/platform_thread.h" | 17 #include "base/platform_thread.h" |
| 20 #include "base/process_util.h" | 18 #include "base/process_util.h" |
| 21 #include "base/scoped_nsautorelease_pool.h" | 19 #include "base/scoped_nsautorelease_pool.h" |
| 22 #include "base/stats_counters.h" | 20 #include "base/stats_counters.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 286 |
| 289 if (run_loop) { | 287 if (run_loop) { |
| 290 if (pool) | 288 if (pool) |
| 291 pool->Recycle(); | 289 pool->Recycle(); |
| 292 MessageLoop::current()->Run(); | 290 MessageLoop::current()->Run(); |
| 293 } | 291 } |
| 294 } | 292 } |
| 295 platform.PlatformUninitialize(); | 293 platform.PlatformUninitialize(); |
| 296 return 0; | 294 return 0; |
| 297 } | 295 } |
| OLD | NEW |