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 // Defines the shared command-line switches used by code in the Chrome | 5 // Defines the shared command-line switches used by code in the Chrome |
6 // directory that don't have anywhere more specific to go. | 6 // directory that don't have anywhere more specific to go. |
7 | 7 |
8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
9 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
10 | 10 |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 #endif | 382 #endif |
383 | 383 |
384 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 384 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
385 extern const char kDebugPrint[]; | 385 extern const char kDebugPrint[]; |
386 #endif | 386 #endif |
387 | 387 |
388 #if defined(ENABLE_PLUGINS) | 388 #if defined(ENABLE_PLUGINS) |
389 extern const char kAllowNaClCrxFsAPI[]; | 389 extern const char kAllowNaClCrxFsAPI[]; |
390 extern const char kAllowNaClFileHandleAPI[]; | 390 extern const char kAllowNaClFileHandleAPI[]; |
391 extern const char kAllowNaClSocketAPI[]; | 391 extern const char kAllowNaClSocketAPI[]; |
392 extern const char kDisablePluginPowerSaver[]; | |
393 extern const char kEnablePluginPowerSaver[]; | |
394 #endif | 392 #endif |
395 | 393 |
396 #if defined(FULL_SAFE_BROWSING) | 394 #if defined(FULL_SAFE_BROWSING) |
397 extern const char kAllowUncheckedDangerousDownloads[]; | 395 extern const char kAllowUncheckedDangerousDownloads[]; |
398 extern const char kDisallowUncheckedDangerousDownloads[]; | 396 extern const char kDisallowUncheckedDangerousDownloads[]; |
399 #endif | 397 #endif |
400 | 398 |
401 #if defined(ENABLE_TASK_MANAGER) | 399 #if defined(ENABLE_TASK_MANAGER) |
402 extern const char kDisableNewTaskManager[]; | 400 extern const char kDisableNewTaskManager[]; |
403 #endif // defined(ENABLE_TASK_MANAGER) | 401 #endif // defined(ENABLE_TASK_MANAGER) |
(...skipping 11 matching lines...) Expand all Loading... |
415 #if defined(ENABLE_TASK_MANAGER) | 413 #if defined(ENABLE_TASK_MANAGER) |
416 bool NewTaskManagerEnabled(); | 414 bool NewTaskManagerEnabled(); |
417 #endif // defined(ENABLE_TASK_MANAGER) | 415 #endif // defined(ENABLE_TASK_MANAGER) |
418 | 416 |
419 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 417 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
420 // alphabetical order, or in one of the ifdefs (also in order in each section). | 418 // alphabetical order, or in one of the ifdefs (also in order in each section). |
421 | 419 |
422 } // namespace switches | 420 } // namespace switches |
423 | 421 |
424 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 422 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |