| 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 "content/public/browser/browser_main_runner.h" | 5 #include "content/public/browser/browser_main_runner.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/debug/debugger.h" | 9 #include "base/debug/debugger.h" |
| 10 #include "base/debug/leak_annotations.h" | 10 #include "base/debug/leak_annotations.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
| 14 #include "base/metrics/histogram_macros.h" | |
| 15 #include "base/metrics/statistics_recorder.h" | 14 #include "base/metrics/statistics_recorder.h" |
| 16 #include "base/profiler/scoped_profile.h" | 15 #include "base/profiler/scoped_profile.h" |
| 17 #include "base/profiler/scoped_tracker.h" | 16 #include "base/profiler/scoped_tracker.h" |
| 18 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 19 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" | 18 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" |
| 20 #include "base/trace_event/trace_event.h" | 19 #include "base/trace_event/trace_event.h" |
| 21 #include "base/tracked_objects.h" | 20 #include "base/tracked_objects.h" |
| 22 #include "build/build_config.h" | 21 #include "build/build_config.h" |
| 23 #include "components/tracing/browser/trace_config_file.h" | 22 #include "components/tracing/common/trace_config_file.h" |
| 24 #include "components/tracing/common/tracing_switches.h" | 23 #include "components/tracing/common/tracing_switches.h" |
| 25 #include "content/browser/browser_main_loop.h" | 24 #include "content/browser/browser_main_loop.h" |
| 26 #include "content/browser/browser_shutdown_profile_dumper.h" | 25 #include "content/browser/browser_shutdown_profile_dumper.h" |
| 27 #include "content/browser/notification_service_impl.h" | 26 #include "content/browser/notification_service_impl.h" |
| 28 #include "content/public/browser/tracing_controller.h" | 27 #include "content/public/browser/tracing_controller.h" |
| 29 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
| 30 #include "content/public/common/main_function_params.h" | 29 #include "content/public/common/main_function_params.h" |
| 31 #include "third_party/skia/include/core/SkGraphics.h" | 30 #include "third_party/skia/include/core/SkGraphics.h" |
| 32 #include "ui/base/ime/input_method_initializer.h" | 31 #include "ui/base/ime/input_method_initializer.h" |
| 33 | 32 |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 BrowserMainRunner* BrowserMainRunner::Create() { | 239 BrowserMainRunner* BrowserMainRunner::Create() { |
| 241 return new BrowserMainRunnerImpl(); | 240 return new BrowserMainRunnerImpl(); |
| 242 } | 241 } |
| 243 | 242 |
| 244 // static | 243 // static |
| 245 bool BrowserMainRunner::ExitedMainMessageLoop() { | 244 bool BrowserMainRunner::ExitedMainMessageLoop() { |
| 246 return g_exited_main_message_loop; | 245 return g_exited_main_message_loop; |
| 247 } | 246 } |
| 248 | 247 |
| 249 } // namespace content | 248 } // namespace content |
| OLD | NEW |