| 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/leak_annotations.h" | 9 #include "base/debug/leak_annotations.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
| 13 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
| 14 #include "base/metrics/statistics_recorder.h" | 14 #include "base/metrics/statistics_recorder.h" |
| 15 #include "base/profiler/scoped_profile.h" | 15 #include "base/profiler/scoped_profile.h" |
| 16 #include "base/profiler/scoped_tracker.h" | 16 #include "base/profiler/scoped_tracker.h" |
| 17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 18 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" | 18 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" |
| 19 #include "base/trace_event/trace_event.h" | 19 #include "base/trace_event/trace_event.h" |
| 20 #include "base/tracked_objects.h" | 20 #include "base/tracked_objects.h" |
| 21 #include "build/build_config.h" | 21 #include "build/build_config.h" |
| 22 #include "components/tracing/trace_config_file.h" | 22 #include "components/tracing/browser/trace_config_file.h" |
| 23 #include "components/tracing/tracing_switches.h" | 23 #include "components/tracing/common/tracing_switches.h" |
| 24 #include "content/browser/browser_main_loop.h" | 24 #include "content/browser/browser_main_loop.h" |
| 25 #include "content/browser/browser_shutdown_profile_dumper.h" | 25 #include "content/browser/browser_shutdown_profile_dumper.h" |
| 26 #include "content/browser/notification_service_impl.h" | 26 #include "content/browser/notification_service_impl.h" |
| 27 #include "content/public/browser/tracing_controller.h" | 27 #include "content/public/browser/tracing_controller.h" |
| 28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
| 29 #include "content/public/common/main_function_params.h" | 29 #include "content/public/common/main_function_params.h" |
| 30 #include "third_party/skia/include/core/SkGraphics.h" | 30 #include "third_party/skia/include/core/SkGraphics.h" |
| 31 #include "ui/base/ime/input_method_initializer.h" | 31 #include "ui/base/ime/input_method_initializer.h" |
| 32 | 32 |
| 33 #if defined(OS_ANDROID) | 33 #if defined(OS_ANDROID) |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 BrowserMainRunner* BrowserMainRunner::Create() { | 249 BrowserMainRunner* BrowserMainRunner::Create() { |
| 250 return new BrowserMainRunnerImpl(); | 250 return new BrowserMainRunnerImpl(); |
| 251 } | 251 } |
| 252 | 252 |
| 253 // static | 253 // static |
| 254 bool BrowserMainRunner::ExitedMainMessageLoop() { | 254 bool BrowserMainRunner::ExitedMainMessageLoop() { |
| 255 return g_exited_main_message_loop; | 255 return g_exited_main_message_loop; |
| 256 } | 256 } |
| 257 | 257 |
| 258 } // namespace content | 258 } // namespace content |
| OLD | NEW |