chore: align crash patch with upstream (#23595)
This commit is contained in:
parent
2342aaffbd
commit
8b160d57a6
7 changed files with 224 additions and 104 deletions
|
@ -194,9 +194,8 @@ bool ElectronCrashReporterClient::ShouldMonitorCrashHandlerExpensively() {
|
|||
}
|
||||
#endif // OS_LINUX
|
||||
|
||||
bool ElectronCrashReporterClient::GetUploadUrl(std::string* url) {
|
||||
*url = upload_url_;
|
||||
return true;
|
||||
std::string ElectronCrashReporterClient::GetUploadUrl() {
|
||||
return upload_url_;
|
||||
}
|
||||
|
||||
bool ElectronCrashReporterClient::EnableBreakpadForProcess(
|
||||
|
|
|
@ -76,7 +76,7 @@ class ElectronCrashReporterClient : public crash_reporter::CrashReporterClient {
|
|||
|
||||
bool EnableBreakpadForProcess(const std::string& process_type) override;
|
||||
|
||||
bool GetUploadUrl(std::string* url) override;
|
||||
std::string GetUploadUrl() override;
|
||||
|
||||
private:
|
||||
friend class base::NoDestructor<ElectronCrashReporterClient>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue