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