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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 extern const char kEnableNewAppMenuIcon[]; | 349 extern const char kEnableNewAppMenuIcon[]; |
350 #endif | 350 #endif |
351 | 351 |
352 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) | 352 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
353 extern const char kUseSystemDefaultPrinter[]; | 353 extern const char kUseSystemDefaultPrinter[]; |
354 #endif | 354 #endif |
355 | 355 |
356 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) | 356 #if BUILDFLAG(ENABLE_OOP_HEAP_PROFILING) |
357 extern const char kMemlog[]; | 357 extern const char kMemlog[]; |
358 extern const char kMemlogPipe[]; | 358 extern const char kMemlogPipe[]; |
| 359 extern const char kProfiling[]; |
359 #endif | 360 #endif |
360 | 361 |
361 bool ExtensionsDisabled(const base::CommandLine& command_line); | 362 bool ExtensionsDisabled(const base::CommandLine& command_line); |
362 bool ExtensionsDisabled(); | 363 bool ExtensionsDisabled(); |
363 bool MdFeedbackEnabled(); | 364 bool MdFeedbackEnabled(); |
364 bool MdPolicyPageEnabled(); | 365 bool MdPolicyPageEnabled(); |
365 bool SettingsWindowEnabled(); | 366 bool SettingsWindowEnabled(); |
366 | 367 |
367 #if defined(OS_CHROMEOS) | 368 #if defined(OS_CHROMEOS) |
368 bool PowerOverlayEnabled(); | 369 bool PowerOverlayEnabled(); |
369 #endif | 370 #endif |
370 | 371 |
371 #if defined(OS_WIN) | 372 #if defined(OS_WIN) |
372 bool GDITextPrintingEnabled(); | 373 bool GDITextPrintingEnabled(); |
373 #endif | 374 #endif |
374 | 375 |
375 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 376 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
376 // alphabetical order, or in one of the ifdefs (also in order in each section). | 377 // alphabetical order, or in one of the ifdefs (also in order in each section). |
377 | 378 |
378 } // namespace switches | 379 } // namespace switches |
379 | 380 |
380 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 381 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |