File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
docs/platforms/native/guides/crashpad Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,21 @@ bool startCrashpad() {
3232 // Path to the out-of-process handler executable
3333 base::FilePath handler("path/to/crashpad_handler");
3434 // URL used to submit minidumps to
35- std::string url("___ MINIDUMP_URL___ ");
35+ std::string minidump_url("___ MINIDUMP_URL___ ");
36+ // PROXY used for the url
37+ std::string http_proxy("");
3638 // Optional annotations passed via --annotations to the handler
37- std::map<string, string > annotations;
39+ std::map<std:: string, std:: string> annotations;
3840 // Optional arguments to pass to the handler
39- std::vector<string > arguments;
41+ std::vector<std:: string> arguments;
4042
4143 CrashpadClient client;
4244 bool success = client.StartHandler(
4345 handler,
4446 database,
4547 database,
46- url,
48+ minidump_url,
49+ http_proxy,
4750 annotations,
4851 arguments,
4952 /* restartable */ true,
You can’t perform that action at this time.
0 commit comments