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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 #if defined(OS_POSIX) | 337 #if defined(OS_POSIX) |
338 extern const char kEnableCrashReporter[]; | 338 extern const char kEnableCrashReporter[]; |
339 extern const char kNoProcessSingletonDialog[]; | 339 extern const char kNoProcessSingletonDialog[]; |
340 #if !defined(OS_MACOSX) | 340 #if !defined(OS_MACOSX) |
341 extern const char kPasswordStore[]; | 341 extern const char kPasswordStore[]; |
342 #endif | 342 #endif |
343 #endif | 343 #endif |
344 | 344 |
345 #if defined(OS_MACOSX) | 345 #if defined(OS_MACOSX) |
346 extern const char kDisableFlashCoreAnimation[]; | 346 extern const char kDisableFlashCoreAnimation[]; |
| 347 extern const char kDisableHolePunching[]; |
347 extern const char kEnableExposeForTabs[]; | 348 extern const char kEnableExposeForTabs[]; |
348 extern const char kEnableSandboxLogging[]; | 349 extern const char kEnableSandboxLogging[]; |
349 #else | 350 #else |
350 extern const char kKioskMode[]; | 351 extern const char kKioskMode[]; |
351 #endif | 352 #endif |
352 | 353 |
353 #ifndef NDEBUG | 354 #ifndef NDEBUG |
354 extern const char kGearsPluginPathOverride[]; | 355 extern const char kGearsPluginPathOverride[]; |
355 extern const char kInvalidateSyncLogin[]; | 356 extern const char kInvalidateSyncLogin[]; |
356 extern const char kInvalidateSyncXmppLogin[]; | 357 extern const char kInvalidateSyncXmppLogin[]; |
(...skipping 11 matching lines...) Expand all Loading... |
368 #endif | 369 #endif |
369 // Return true if the switches indicate the seccomp sandbox is enabled. | 370 // Return true if the switches indicate the seccomp sandbox is enabled. |
370 bool SeccompSandboxEnabled(); | 371 bool SeccompSandboxEnabled(); |
371 | 372 |
372 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 373 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
373 // alphabetical order, or in one of the ifdefs (also in order in each section). | 374 // alphabetical order, or in one of the ifdefs (also in order in each section). |
374 | 375 |
375 } // namespace switches | 376 } // namespace switches |
376 | 377 |
377 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 378 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |