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/app/content_main_runner.h" | 5 #include "content/public/app/content_main_runner.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include "base/allocator/allocator_extension.h" | 9 #include "base/allocator/allocator_extension.h" |
10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/debug/debugger.h" | 12 #include "base/debug/debugger.h" |
13 #include "base/debug/trace_event.h" | |
14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
15 #include "base/i18n/icu_util.h" | 14 #include "base/i18n/icu_util.h" |
16 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
17 #include "base/logging.h" | 16 #include "base/logging.h" |
18 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
19 #include "base/memory/scoped_vector.h" | 18 #include "base/memory/scoped_vector.h" |
20 #include "base/metrics/stats_table.h" | 19 #include "base/metrics/stats_table.h" |
21 #include "base/path_service.h" | 20 #include "base/path_service.h" |
22 #include "base/process/launch.h" | 21 #include "base/process/launch.h" |
23 #include "base/process/memory.h" | 22 #include "base/process/memory.h" |
24 #include "base/process/process_handle.h" | 23 #include "base/process/process_handle.h" |
25 #include "base/profiler/alternate_timer.h" | 24 #include "base/profiler/alternate_timer.h" |
26 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
27 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
28 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
| 28 #include "base/trace_event/trace_event.h" |
29 #include "content/browser/browser_main.h" | 29 #include "content/browser/browser_main.h" |
30 #include "content/common/set_process_title.h" | 30 #include "content/common/set_process_title.h" |
31 #include "content/common/url_schemes.h" | 31 #include "content/common/url_schemes.h" |
32 #include "content/gpu/in_process_gpu_thread.h" | 32 #include "content/gpu/in_process_gpu_thread.h" |
33 #include "content/public/app/content_main.h" | 33 #include "content/public/app/content_main.h" |
34 #include "content/public/app/content_main_delegate.h" | 34 #include "content/public/app/content_main_delegate.h" |
35 #include "content/public/app/startup_helper_win.h" | 35 #include "content/public/app/startup_helper_win.h" |
36 #include "content/public/browser/content_browser_client.h" | 36 #include "content/public/browser/content_browser_client.h" |
37 #include "content/public/common/content_client.h" | 37 #include "content/public/common/content_client.h" |
38 #include "content/public/common/content_constants.h" | 38 #include "content/public/common/content_constants.h" |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 | 859 |
860 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 860 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
861 }; | 861 }; |
862 | 862 |
863 // static | 863 // static |
864 ContentMainRunner* ContentMainRunner::Create() { | 864 ContentMainRunner* ContentMainRunner::Create() { |
865 return new ContentMainRunnerImpl(); | 865 return new ContentMainRunnerImpl(); |
866 } | 866 } |
867 | 867 |
868 } // namespace content | 868 } // namespace content |
OLD | NEW |