OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 #ifndef NDEBUG | 346 #ifndef NDEBUG |
347 extern const char kOAuthHostUrl[]; | 347 extern const char kOAuthHostUrl[]; |
348 extern const char kClearTokenService[]; | 348 extern const char kClearTokenService[]; |
349 extern const char kSetToken[]; | 349 extern const char kSetToken[]; |
350 extern const char kWebSocketLiveExperimentHost[]; | 350 extern const char kWebSocketLiveExperimentHost[]; |
351 extern const char kExposePrivateExtensionApi[]; | 351 extern const char kExposePrivateExtensionApi[]; |
352 #endif | 352 #endif |
353 | 353 |
354 extern const char kDisablePrintPreview[]; | 354 extern const char kDisablePrintPreview[]; |
355 extern const char kEnablePrintPreview[]; | 355 extern const char kEnablePrintPreview[]; |
| 356 extern const char kEnableBenchmarking[]; |
356 | 357 |
357 bool IsPrintPreviewEnabled(); | 358 bool IsPrintPreviewEnabled(); |
358 | 359 |
359 bool IsInBrowserThumbnailingEnabled(); | 360 bool IsInBrowserThumbnailingEnabled(); |
360 | 361 |
361 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 362 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
362 // alphabetical order, or in one of the ifdefs (also in order in each section). | 363 // alphabetical order, or in one of the ifdefs (also in order in each section). |
363 | 364 |
364 } // namespace switches | 365 } // namespace switches |
365 | 366 |
366 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 367 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |