chore: align crash patch with upstream (#23595)

This commit is contained in:
Jeremy Apthorp 2020-05-14 20:09:02 -07:00 committed by GitHub
parent 2342aaffbd
commit 8b160d57a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 224 additions and 104 deletions

View file

@ -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(

View file

@ -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>;