mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: align crash patch with upstream (#23595)
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user