aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/symbol_upload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/symbol_upload.h')
-rw-r--r--src/common/linux/symbol_upload.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/common/linux/symbol_upload.h b/src/common/linux/symbol_upload.h
index 0a469692..040e980f 100644
--- a/src/common/linux/symbol_upload.h
+++ b/src/common/linux/symbol_upload.h
@@ -41,14 +41,24 @@
namespace google_breakpad {
namespace sym_upload {
-typedef struct {
+enum class UploadProtocol {
+ SYM_UPLOAD_V1,
+ SYM_UPLOAD_V2,
+};
+
+struct Options {
+ Options() : upload_protocol(UploadProtocol::SYM_UPLOAD_V1), force(false) {}
+
string symbolsPath;
string uploadURLStr;
string proxy;
string proxy_user_pwd;
string version;
bool success;
-} Options;
+ UploadProtocol upload_protocol;
+ bool force;
+ string api_key;
+};
// Starts upload to symbol server with options.
void Start(Options* options);