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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 // a garish #FFFFFF like it is by default on Windows 10. | 1111 // a garish #FFFFFF like it is by default on Windows 10. |
1112 const char kWindows10CustomTitlebar[] = "windows10-custom-titlebar"; | 1112 const char kWindows10CustomTitlebar[] = "windows10-custom-titlebar"; |
1113 | 1113 |
1114 // Indicates that chrome was launched to service a search request in Windows 8. | 1114 // Indicates that chrome was launched to service a search request in Windows 8. |
1115 const char kWindows8Search[] = "windows8-search"; | 1115 const char kWindows8Search[] = "windows8-search"; |
1116 #endif // defined(OS_WIN) | 1116 #endif // defined(OS_WIN) |
1117 | 1117 |
1118 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) | 1118 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
1119 // Used to enable Mus+ash. | 1119 // Used to enable Mus+ash. |
1120 const char kMash[] = "mash"; | 1120 const char kMash[] = "mash"; |
| 1121 |
| 1122 // Used to enable mus as a separate process, but chrome+ash still together. |
| 1123 const char kMus[] = "mus"; |
| 1124 |
| 1125 // This is added to child processes launched from mash or mus. The value of |
| 1126 // this switch is either kMus or kMash. For example, if chrome is run with |
| 1127 // '--mash' then the child process representing ash is launched with the |
| 1128 // switch '--mus-config=mash'. |
| 1129 const char kMusConfig[] = "mus-config"; |
1121 #endif | 1130 #endif |
1122 | 1131 |
1123 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 1132 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
1124 // Enables support to debug printing subsystem. | 1133 // Enables support to debug printing subsystem. |
1125 const char kDebugPrint[] = "debug-print"; | 1134 const char kDebugPrint[] = "debug-print"; |
1126 #endif | 1135 #endif |
1127 | 1136 |
1128 #if BUILDFLAG(ENABLE_PLUGINS) | 1137 #if BUILDFLAG(ENABLE_PLUGINS) |
1129 // Specifies comma-separated list of extension ids or hosts to grant | 1138 // Specifies comma-separated list of extension ids or hosts to grant |
1130 // access to CRX file system APIs. | 1139 // access to CRX file system APIs. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 | 1192 |
1184 // ----------------------------------------------------------------------------- | 1193 // ----------------------------------------------------------------------------- |
1185 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1194 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
1186 // | 1195 // |
1187 // You were going to just dump your switches here, weren't you? Instead, please | 1196 // You were going to just dump your switches here, weren't you? Instead, please |
1188 // put them in alphabetical order above, or in order inside the appropriate | 1197 // put them in alphabetical order above, or in order inside the appropriate |
1189 // ifdef at the bottom. The order should match the header. | 1198 // ifdef at the bottom. The order should match the header. |
1190 // ----------------------------------------------------------------------------- | 1199 // ----------------------------------------------------------------------------- |
1191 | 1200 |
1192 } // namespace switches | 1201 } // namespace switches |
OLD | NEW |