| 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/browser/browser_main.h" | 5 #include "content/browser/browser_main.h" |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" |
| 7 #include "base/trace_event/trace_event.h" | 8 #include "base/trace_event/trace_event.h" |
| 8 #include "content/common/content_constants_internal.h" | 9 #include "content/common/content_constants_internal.h" |
| 9 #include "content/public/browser/browser_main_runner.h" | 10 #include "content/public/browser/browser_main_runner.h" |
| 10 | 11 |
| 11 namespace content { | 12 namespace content { |
| 12 | 13 |
| 13 namespace { | 14 namespace { |
| 14 | 15 |
| 15 // Generates a pair of BrowserMain async events. We don't use the TRACE_EVENT0 | 16 // Generates a pair of BrowserMain async events. We don't use the TRACE_EVENT0 |
| 16 // macro because the tracing infrastructure doesn't expect synchronous events | 17 // macro because the tracing infrastructure doesn't expect synchronous events |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 return exit_code; | 43 return exit_code; |
| 43 | 44 |
| 44 exit_code = main_runner->Run(); | 45 exit_code = main_runner->Run(); |
| 45 | 46 |
| 46 main_runner->Shutdown(); | 47 main_runner->Shutdown(); |
| 47 | 48 |
| 48 return exit_code; | 49 return exit_code; |
| 49 } | 50 } |
| 50 | 51 |
| 51 } // namespace content | 52 } // namespace content |
| OLD | NEW |