OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/shell/app/shell_main_delegate.h" | 5 #include "extensions/shell/app/shell_main_delegate.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "build/build_config.h" |
11 #include "content/public/browser/browser_main_runner.h" | 12 #include "content/public/browser/browser_main_runner.h" |
12 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
13 #include "extensions/common/extension_paths.h" | 14 #include "extensions/common/extension_paths.h" |
14 #include "extensions/shell/browser/default_shell_browser_main_delegate.h" | 15 #include "extensions/shell/browser/default_shell_browser_main_delegate.h" |
15 #include "extensions/shell/browser/shell_content_browser_client.h" | 16 #include "extensions/shell/browser/shell_content_browser_client.h" |
16 #include "extensions/shell/common/shell_content_client.h" | 17 #include "extensions/shell/common/shell_content_client.h" |
17 #include "extensions/shell/renderer/shell_content_renderer_client.h" | 18 #include "extensions/shell/renderer/shell_content_renderer_client.h" |
18 #include "extensions/shell/utility/shell_content_utility_client.h" | 19 #include "extensions/shell/utility/shell_content_utility_client.h" |
19 #include "ui/base/resource/resource_bundle.h" | 20 #include "ui/base/resource/resource_bundle.h" |
20 | 21 |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 #if !defined(DISABLE_NACL) | 166 #if !defined(DISABLE_NACL) |
166 process_type == switches::kNaClLoaderProcess || | 167 process_type == switches::kNaClLoaderProcess || |
167 #endif | 168 #endif |
168 #if defined(OS_MACOSX) | 169 #if defined(OS_MACOSX) |
169 process_type == switches::kGpuProcess || | 170 process_type == switches::kGpuProcess || |
170 #endif | 171 #endif |
171 process_type == switches::kUtilityProcess; | 172 process_type == switches::kUtilityProcess; |
172 } | 173 } |
173 | 174 |
174 } // namespace extensions | 175 } // namespace extensions |
OLD | NEW |