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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 | 392 |
393 #if defined(FULL_SAFE_BROWSING) | 393 #if defined(FULL_SAFE_BROWSING) |
394 extern const char kAllowUncheckedDangerousDownloads[]; | 394 extern const char kAllowUncheckedDangerousDownloads[]; |
395 extern const char kDisallowUncheckedDangerousDownloads[]; | 395 extern const char kDisallowUncheckedDangerousDownloads[]; |
396 #endif | 396 #endif |
397 | 397 |
398 #if defined(ENABLE_TASK_MANAGER) | 398 #if defined(ENABLE_TASK_MANAGER) |
399 extern const char kDisableNewTaskManager[]; | 399 extern const char kDisableNewTaskManager[]; |
400 #endif // defined(ENABLE_TASK_MANAGER) | 400 #endif // defined(ENABLE_TASK_MANAGER) |
401 | 401 |
| 402 extern const char kEnableBrotli[]; |
| 403 extern const char kDisableBrotli[]; |
| 404 |
402 bool AboutInSettingsEnabled(); | 405 bool AboutInSettingsEnabled(); |
403 bool MdExtensionsEnabled(); | 406 bool MdExtensionsEnabled(); |
404 bool MdPolicyPageEnabled(); | 407 bool MdPolicyPageEnabled(); |
405 bool PdfMaterialUIEnabled(); | 408 bool PdfMaterialUIEnabled(); |
406 bool SettingsWindowEnabled(); | 409 bool SettingsWindowEnabled(); |
407 | 410 |
408 #if defined(OS_CHROMEOS) | 411 #if defined(OS_CHROMEOS) |
409 bool PowerOverlayEnabled(); | 412 bool PowerOverlayEnabled(); |
410 #endif | 413 #endif |
411 | 414 |
412 #if defined(ENABLE_TASK_MANAGER) | 415 #if defined(ENABLE_TASK_MANAGER) |
413 bool NewTaskManagerEnabled(); | 416 bool NewTaskManagerEnabled(); |
414 #endif // defined(ENABLE_TASK_MANAGER) | 417 #endif // defined(ENABLE_TASK_MANAGER) |
415 | 418 |
416 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 419 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
417 // alphabetical order, or in one of the ifdefs (also in order in each section). | 420 // alphabetical order, or in one of the ifdefs (also in order in each section). |
418 | 421 |
419 } // namespace switches | 422 } // namespace switches |
420 | 423 |
421 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 424 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |