Browse Source

Update breakpad to lastest master

Cheng Zhao 9 years ago
parent
commit
4c531e909b
2 changed files with 4 additions and 2 deletions
  1. 3 1
      atom/common/crash_reporter/win/crash_service.cc
  2. 1 1
      vendor/breakpad

+ 3 - 1
atom/common/crash_reporter/win/crash_service.cc

@@ -440,10 +440,12 @@ DWORD CrashService::AsyncSendDump(void* context) {
       // termination of the service object.
       base::AutoLock lock(info->self->sending_);
       VLOG(1) << "trying to send report for pid = " << info->pid;
+      std::map<std::wstring, std::wstring> file_map;
+      file_map[L"upload_file_minidump"] = info->dump_path;
       google_breakpad::ReportResult send_result
           = info->self->sender_->SendCrashReport(info->self->reporter_url_,
                                                  info->map,
-                                                 info->dump_path,
+                                                 file_map,
                                                  &report_id);
       switch (send_result) {
         case google_breakpad::RESULT_FAILED:

+ 1 - 1
vendor/breakpad

@@ -1 +1 @@
-Subproject commit 4ee7e1a703d066861b7bf6fce28526f8ed07dcd6
+Subproject commit c566c50d81f7b1edeaee9f11f5d07bda858d6b64