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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 // TODO(avayvod): Remove this flag when it's unnecessary for testing | 294 // TODO(avayvod): Remove this flag when it's unnecessary for testing |
295 // purposes. | 295 // purposes. |
296 extern const char kLoginScreen[]; | 296 extern const char kLoginScreen[]; |
297 extern const char kLoginScreenSize[]; | 297 extern const char kLoginScreenSize[]; |
298 extern const char kTestLoadLibcros[]; | 298 extern const char kTestLoadLibcros[]; |
299 extern const char kProfile[]; | 299 extern const char kProfile[]; |
300 extern const char kLoginProfile[]; | 300 extern const char kLoginProfile[]; |
301 extern const char kLoginUser[]; | 301 extern const char kLoginUser[]; |
302 extern const char kChromeosFrame[]; | 302 extern const char kChromeosFrame[]; |
303 extern const char kChromeosLogToFile[]; | 303 extern const char kChromeosLogToFile[]; |
304 // TODO(denisromanov): Remove this flag when it is not needed for testing. | |
305 extern const char kStartupManifest[]; | |
306 // TODO(denisromanov): Remove this flag when it is not needed for testing, too. | |
307 extern const char kServicesManifest[]; | |
308 extern const char kBWSI[]; | 304 extern const char kBWSI[]; |
309 #endif | 305 #endif |
310 | 306 |
311 #if defined(OS_LINUX) | 307 #if defined(OS_LINUX) |
312 extern const char kScrollPixels[]; | 308 extern const char kScrollPixels[]; |
313 #endif | 309 #endif |
314 | 310 |
315 #if defined(OS_MACOSX) || defined(OS_WIN) | 311 #if defined(OS_MACOSX) || defined(OS_WIN) |
316 extern const char kUseSystemSSL[]; | 312 extern const char kUseSystemSSL[]; |
317 #endif | 313 #endif |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 #endif | 345 #endif |
350 // Return true if the switches indicate the seccomp sandbox is enabled. | 346 // Return true if the switches indicate the seccomp sandbox is enabled. |
351 bool SeccompSandboxEnabled(); | 347 bool SeccompSandboxEnabled(); |
352 | 348 |
353 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 349 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
354 // alphabetical order, or in one of the ifdefs (also in order in each section). | 350 // alphabetical order, or in one of the ifdefs (also in order in each section). |
355 | 351 |
356 } // namespace switches | 352 } // namespace switches |
357 | 353 |
358 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 354 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |