| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "base/path_service.h" | 32 #include "base/path_service.h" |
| 33 #include "base/process/launch.h" | 33 #include "base/process/launch.h" |
| 34 #include "base/process/memory.h" | 34 #include "base/process/memory.h" |
| 35 #include "base/process/process_handle.h" | 35 #include "base/process/process_handle.h" |
| 36 #include "base/profiler/scoped_tracker.h" | 36 #include "base/profiler/scoped_tracker.h" |
| 37 #include "base/strings/string_number_conversions.h" | 37 #include "base/strings/string_number_conversions.h" |
| 38 #include "base/strings/string_util.h" | 38 #include "base/strings/string_util.h" |
| 39 #include "base/strings/stringprintf.h" | 39 #include "base/strings/stringprintf.h" |
| 40 #include "base/trace_event/trace_event.h" | 40 #include "base/trace_event/trace_event.h" |
| 41 #include "build/build_config.h" | 41 #include "build/build_config.h" |
| 42 #include "components/tracing/trace_config_file.h" | 42 #include "components/tracing/browser/trace_config_file.h" |
| 43 #include "components/tracing/trace_to_console.h" | 43 #include "components/tracing/common/trace_to_console.h" |
| 44 #include "components/tracing/tracing_switches.h" | 44 #include "components/tracing/common/tracing_switches.h" |
| 45 #include "content/app/mojo/mojo_init.h" | 45 #include "content/app/mojo/mojo_init.h" |
| 46 #include "content/browser/browser_main.h" | 46 #include "content/browser/browser_main.h" |
| 47 #include "content/browser/gpu/gpu_process_host.h" | 47 #include "content/browser/gpu/gpu_process_host.h" |
| 48 #include "content/browser/renderer_host/render_process_host_impl.h" | 48 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 49 #include "content/browser/utility_process_host_impl.h" | 49 #include "content/browser/utility_process_host_impl.h" |
| 50 #include "content/common/set_process_title.h" | 50 #include "content/common/set_process_title.h" |
| 51 #include "content/common/url_schemes.h" | 51 #include "content/common/url_schemes.h" |
| 52 #include "content/gpu/in_process_gpu_thread.h" | 52 #include "content/gpu/in_process_gpu_thread.h" |
| 53 #include "content/public/app/content_main.h" | 53 #include "content/public/app/content_main.h" |
| 54 #include "content/public/app/content_main_delegate.h" | 54 #include "content/public/app/content_main_delegate.h" |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 | 843 |
| 844 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 844 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
| 845 }; | 845 }; |
| 846 | 846 |
| 847 // static | 847 // static |
| 848 ContentMainRunner* ContentMainRunner::Create() { | 848 ContentMainRunner* ContentMainRunner::Create() { |
| 849 return new ContentMainRunnerImpl(); | 849 return new ContentMainRunnerImpl(); |
| 850 } | 850 } |
| 851 | 851 |
| 852 } // namespace content | 852 } // namespace content |
| OLD | NEW |