Skip to content

Commit

Permalink
ignore option on win/mac
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMoelans committed Feb 24, 2025
1 parent 843f501 commit b916ce0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion client/crashpad_client_mac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,10 @@ bool CrashpadClient::StartHandler(
const std::vector<std::string>& arguments,
bool restartable,
bool asynchronous_start,
const std::vector<base::FilePath>& attachments) {
const std::vector<base::FilePath>& attachments,
bool wait_for_upload) {
(void) wait_for_upload; // unused in mac (for now)

// The “restartable” behavior can only be selected on OS X 10.10 and later. In
// previous OS versions, if the initial client were to crash while attempting
// to restart the handler, it would become an unkillable process.
Expand Down
4 changes: 3 additions & 1 deletion client/crashpad_client_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,9 @@ bool CrashpadClient::StartHandler(
const std::vector<std::string>& arguments,
bool restartable,
bool asynchronous_start,
const std::vector<base::FilePath>& attachments) {
const std::vector<base::FilePath>& attachments,
bool wait_for_upload) {
(void) wait_for_upload; // unused in win (for now)
DCHECK(ipc_pipe_.empty());

// Both the pipe and the signalling events have to be created on the main
Expand Down

0 comments on commit b916ce0

Please sign in to comment.