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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #include "content/public/common/content_paths.h" | 58 #include "content/public/common/content_paths.h" |
59 #include "content/public/common/content_switches.h" | 59 #include "content/public/common/content_switches.h" |
60 #include "content/public/common/main_function_params.h" | 60 #include "content/public/common/main_function_params.h" |
61 #include "content/public/common/sandbox_init.h" | 61 #include "content/public/common/sandbox_init.h" |
62 #include "content/public/gpu/content_gpu_client.h" | 62 #include "content/public/gpu/content_gpu_client.h" |
63 #include "content/public/renderer/content_renderer_client.h" | 63 #include "content/public/renderer/content_renderer_client.h" |
64 #include "content/public/utility/content_utility_client.h" | 64 #include "content/public/utility/content_utility_client.h" |
65 #include "content/renderer/in_process_renderer_thread.h" | 65 #include "content/renderer/in_process_renderer_thread.h" |
66 #include "content/utility/in_process_utility_thread.h" | 66 #include "content/utility/in_process_utility_thread.h" |
67 #include "ipc/ipc_descriptors.h" | 67 #include "ipc/ipc_descriptors.h" |
68 #include "ipc/ipc_switches.h" | |
69 #include "media/base/media.h" | 68 #include "media/base/media.h" |
70 #include "ui/base/ui_base_paths.h" | 69 #include "ui/base/ui_base_paths.h" |
71 #include "ui/base/ui_base_switches.h" | 70 #include "ui/base/ui_base_switches.h" |
72 | 71 |
73 #ifdef V8_USE_EXTERNAL_STARTUP_DATA | 72 #ifdef V8_USE_EXTERNAL_STARTUP_DATA |
74 #include "gin/v8_initializer.h" | 73 #include "gin/v8_initializer.h" |
75 #endif | 74 #endif |
76 | 75 |
77 #if defined(OS_WIN) | 76 #if defined(OS_WIN) |
78 #include <malloc.h> | 77 #include <malloc.h> |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 | 841 |
843 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 842 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
844 }; | 843 }; |
845 | 844 |
846 // static | 845 // static |
847 ContentMainRunner* ContentMainRunner::Create() { | 846 ContentMainRunner* ContentMainRunner::Create() { |
848 return new ContentMainRunnerImpl(); | 847 return new ContentMainRunnerImpl(); |
849 } | 848 } |
850 | 849 |
851 } // namespace content | 850 } // namespace content |
OLD | NEW |