OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 // TODO(avayvod): Remove this flag when it's unnecessary for testing | 289 // TODO(avayvod): Remove this flag when it's unnecessary for testing |
290 // purposes. | 290 // purposes. |
291 extern const char kLoginScreen[]; | 291 extern const char kLoginScreen[]; |
292 extern const char kLoginScreenSize[]; | 292 extern const char kLoginScreenSize[]; |
293 extern const char kTestLoadLibcros[]; | 293 extern const char kTestLoadLibcros[]; |
294 extern const char kProfile[]; | 294 extern const char kProfile[]; |
295 extern const char kLoginProfile[]; | 295 extern const char kLoginProfile[]; |
296 extern const char kLoginUser[]; | 296 extern const char kLoginUser[]; |
297 extern const char kChromeosFrame[]; | 297 extern const char kChromeosFrame[]; |
298 extern const char kChromeosLogToFile[]; | 298 extern const char kChromeosLogToFile[]; |
299 // TODO(denisromanov): Remove this flag when it is not needed for testing. | |
300 extern const char kStartupManifest[]; | |
301 // TODO(denisromanov): Remove this flag when it is not needed for testing, too. | |
302 extern const char kServicesManifest[]; | |
303 #endif | 299 #endif |
304 | 300 |
305 #if defined(OS_LINUX) | 301 #if defined(OS_LINUX) |
306 extern const char kScrollPixels[]; | 302 extern const char kScrollPixels[]; |
307 #endif | 303 #endif |
308 | 304 |
309 #if defined(OS_MACOSX) || defined(OS_WIN) | 305 #if defined(OS_MACOSX) || defined(OS_WIN) |
310 extern const char kUseSystemSSL[]; | 306 extern const char kUseSystemSSL[]; |
311 #endif | 307 #endif |
312 | 308 |
(...skipping 30 matching lines...) Expand all Loading... |
343 #endif | 339 #endif |
344 // Return true if the switches indicate the seccomp sandbox is enabled. | 340 // Return true if the switches indicate the seccomp sandbox is enabled. |
345 bool SeccompSandboxEnabled(); | 341 bool SeccompSandboxEnabled(); |
346 | 342 |
347 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 343 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
348 // alphabetical order, or in one of the ifdefs (also in order in each section). | 344 // alphabetical order, or in one of the ifdefs (also in order in each section). |
349 | 345 |
350 } // namespace switches | 346 } // namespace switches |
351 | 347 |
352 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 348 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |