| Sorin Jianu | f4f51699e | 2019-03-27 20:39:03 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CHROME_UPDATER_UPDATER_CONSTANTS_H_ |
| 6 | #define CHROME_UPDATER_UPDATER_CONSTANTS_H_ |
| 7 | |
| 8 | namespace updater { |
| 9 | |
| 10 | // Command line switches. |
| 11 | // |
| 12 | // Crash the program for testing purposes. |
| 13 | extern const char kCrashMeSwitch[]; |
| 14 | |
| 15 | // Runs as the Crashpad handler. |
| 16 | extern const char kCrashHandlerSwitch[]; |
| 17 | |
| 18 | // Runs in test mode. Currently, it exits right away. |
| 19 | extern const char kTestSwitch[]; |
| 20 | |
| 21 | // Disables throttling for the crash reported until the following bug is fixed: |
| 22 | // https://bugs.chromium.org/p/crashpad/issues/detail?id=23 |
| 23 | extern const char kNoRateLimit[]; |
| 24 | |
| 25 | // URLs. |
| 26 | // |
| 27 | // Omaha server end point. |
| 28 | extern const char kUpdaterJSONDefaultUrl[]; |
| 29 | |
| 30 | // The URL where crash reports are uploaded. |
| 31 | extern const char kCrashUploadURL[]; |
| 32 | extern const char kCrashStagingUploadURL[]; |
| 33 | |
| 34 | } // namespace updater |
| 35 | |
| 36 | #endif // CHROME_UPDATER_UPDATER_CONSTANTS_H_ |