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