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" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "content/public/common/main_function_params.h" | 42 #include "content/public/common/main_function_params.h" |
43 #include "content/public/common/sandbox_init.h" | 43 #include "content/public/common/sandbox_init.h" |
44 #include "content/renderer/in_process_renderer_thread.h" | 44 #include "content/renderer/in_process_renderer_thread.h" |
45 #include "content/utility/in_process_utility_thread.h" | 45 #include "content/utility/in_process_utility_thread.h" |
46 #include "crypto/nss_util.h" | 46 #include "crypto/nss_util.h" |
47 #include "ipc/ipc_switches.h" | 47 #include "ipc/ipc_switches.h" |
48 #include "media/base/media.h" | 48 #include "media/base/media.h" |
49 #include "sandbox/win/src/sandbox_types.h" | 49 #include "sandbox/win/src/sandbox_types.h" |
50 #include "ui/base/ui_base_paths.h" | 50 #include "ui/base/ui_base_paths.h" |
51 #include "ui/base/ui_base_switches.h" | 51 #include "ui/base/ui_base_switches.h" |
52 #include "ui/gfx/dpi_win.h" | 52 #include "ui/gfx/win/dpi.h" |
53 #include "webkit/common/user_agent/user_agent.h" | 53 #include "webkit/common/user_agent/user_agent.h" |
54 | 54 |
55 #if defined(USE_TCMALLOC) | 55 #if defined(USE_TCMALLOC) |
56 #include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h" | 56 #include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h" |
57 #if defined(TYPE_PROFILING) | 57 #if defined(TYPE_PROFILING) |
58 #include "base/allocator/type_profiler.h" | 58 #include "base/allocator/type_profiler.h" |
59 #include "base/allocator/type_profiler_tcmalloc.h" | 59 #include "base/allocator/type_profiler_tcmalloc.h" |
60 #endif | 60 #endif |
61 #endif | 61 #endif |
62 | 62 |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 | 839 |
840 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 840 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
841 }; | 841 }; |
842 | 842 |
843 // static | 843 // static |
844 ContentMainRunner* ContentMainRunner::Create() { | 844 ContentMainRunner* ContentMainRunner::Create() { |
845 return new ContentMainRunnerImpl(); | 845 return new ContentMainRunnerImpl(); |
846 } | 846 } |
847 | 847 |
848 } // namespace content | 848 } // namespace content |
OLD | NEW |