Skip to content

Commit 6a438d2

Browse files
authored
Update index.mdx (#11659)
1.Fix missing 'std' preposition 2.Added 'http_proxy' parameter
1 parent 02b62b8 commit 6a438d2

File tree

1 file changed

+7
-4
lines changed
  • docs/platforms/native/guides/crashpad

1 file changed

+7
-4
lines changed

docs/platforms/native/guides/crashpad/index.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)