| 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/leak_annotations.h" | 10 #include "base/debug/leak_annotations.h" |
| 10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 11 #include "base/macros.h" | 12 #include "base/macros.h" |
| 12 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 13 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
| 14 #include "base/metrics/statistics_recorder.h" | 15 #include "base/metrics/statistics_recorder.h" |
| 15 #include "base/profiler/scoped_profile.h" | 16 #include "base/profiler/scoped_profile.h" |
| 16 #include "base/profiler/scoped_tracker.h" | 17 #include "base/profiler/scoped_tracker.h" |
| 17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 18 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" | 19 #include "base/trace_event/heap_profiler_allocation_context_tracker.h" |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 BrowserMainRunner* BrowserMainRunner::Create() { | 250 BrowserMainRunner* BrowserMainRunner::Create() { |
| 250 return new BrowserMainRunnerImpl(); | 251 return new BrowserMainRunnerImpl(); |
| 251 } | 252 } |
| 252 | 253 |
| 253 // static | 254 // static |
| 254 bool BrowserMainRunner::ExitedMainMessageLoop() { | 255 bool BrowserMainRunner::ExitedMainMessageLoop() { |
| 255 return g_exited_main_message_loop; | 256 return g_exited_main_message_loop; |
| 256 } | 257 } |
| 257 | 258 |
| 258 } // namespace content | 259 } // namespace content |
| OLD | NEW |