Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/platforms/native/guides/crashpad/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ bool startCrashpad() {
// Path to the out-of-process handler executable
base::FilePath handler("path/to/crashpad_handler");
// URL used to submit minidumps to
std::string url("___MINIDUMP_URL___");
std::string minidump_url("___MINIDUMP_URL___");
// PROXY used for the url
std::string http_proxy("");
// Optional annotations passed via --annotations to the handler
std::map<string, string> annotations;
std::map<std::string, std::string> annotations;
// Optional arguments to pass to the handler
std::vector<string> arguments;
std::vector<std::string> arguments;

CrashpadClient client;
bool success = client.StartHandler(
handler,
database,
database,
url,
minidump_url,
http_proxy,
annotations,
arguments,
/* restartable */ true,
Expand Down
Loading