| 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 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "chrome/common/features.h" |
| 12 #include "ppapi/features/features.h" | 13 #include "ppapi/features/features.h" |
| 13 #include "printing/features/features.h" | 14 #include "printing/features/features.h" |
| 14 | 15 |
| 15 // Don't add more switch files here. This is linked into some places like the | 16 // Don't add more switch files here. This is linked into some places like the |
| 16 // installer where dependencies should be limited. Instead, have files | 17 // installer where dependencies should be limited. Instead, have files |
| 17 // directly include your switch file. | 18 // directly include your switch file. |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 class CommandLine; | 21 class CommandLine; |
| 21 }; | 22 }; |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 extern const char kPrefetchArgumentBrowserBackground[]; | 325 extern const char kPrefetchArgumentBrowserBackground[]; |
| 325 extern const char kPrefetchArgumentWatcher[]; | 326 extern const char kPrefetchArgumentWatcher[]; |
| 326 extern const char kShowIcons[]; | 327 extern const char kShowIcons[]; |
| 327 extern const char kUninstall[]; | 328 extern const char kUninstall[]; |
| 328 extern const char kViewerLaunchViaAppId[]; | 329 extern const char kViewerLaunchViaAppId[]; |
| 329 extern const char kWatcherProcess[]; | 330 extern const char kWatcherProcess[]; |
| 330 extern const char kWindows10CustomTitlebar[]; | 331 extern const char kWindows10CustomTitlebar[]; |
| 331 extern const char kWindows8Search[]; | 332 extern const char kWindows8Search[]; |
| 332 #endif // defined(OS_WIN) | 333 #endif // defined(OS_WIN) |
| 333 | 334 |
| 335 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
| 336 extern const char kMash[]; |
| 337 #endif |
| 338 |
| 334 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 339 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 335 extern const char kDebugPrint[]; | 340 extern const char kDebugPrint[]; |
| 336 #endif | 341 #endif |
| 337 | 342 |
| 338 #if BUILDFLAG(ENABLE_PLUGINS) | 343 #if BUILDFLAG(ENABLE_PLUGINS) |
| 339 extern const char kAllowNaClCrxFsAPI[]; | 344 extern const char kAllowNaClCrxFsAPI[]; |
| 340 extern const char kAllowNaClFileHandleAPI[]; | 345 extern const char kAllowNaClFileHandleAPI[]; |
| 341 extern const char kAllowNaClSocketAPI[]; | 346 extern const char kAllowNaClSocketAPI[]; |
| 342 #endif | 347 #endif |
| 343 | 348 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 362 #if defined(OS_WIN) | 367 #if defined(OS_WIN) |
| 363 bool GDITextPrintingEnabled(); | 368 bool GDITextPrintingEnabled(); |
| 364 #endif | 369 #endif |
| 365 | 370 |
| 366 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 371 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 367 // alphabetical order, or in one of the ifdefs (also in order in each section). | 372 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 368 | 373 |
| 369 } // namespace switches | 374 } // namespace switches |
| 370 | 375 |
| 371 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 376 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |