blob: 4b3704b3af3ef287e2a1464a1f1dfeb79e0646a1 [file] [log] [blame]
Sorin Jianuf4f51699e2019-03-27 20:39:031// 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
8namespace updater {
9
10// Command line switches.
11//
12// Crash the program for testing purposes.
13extern const char kCrashMeSwitch[];
14
15// Runs as the Crashpad handler.
16extern const char kCrashHandlerSwitch[];
17
18// Runs in test mode. Currently, it exits right away.
19extern 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
23extern const char kNoRateLimit[];
24
25// URLs.
26//
27// Omaha server end point.
28extern const char kUpdaterJSONDefaultUrl[];
29
30// The URL where crash reports are uploaded.
31extern const char kCrashUploadURL[];
32extern const char kCrashStagingUploadURL[];
33
34} // namespace updater
35
36#endif // CHROME_UPDATER_UPDATER_CONSTANTS_H_