| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromecast/app/linux/cast_crash_reporter_client.h" | 5 #include "chromecast/app/linux/cast_crash_reporter_client.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "chromecast/base/error_codes.h" | 8 #include "chromecast/base/error_codes.h" |
| 9 #include "chromecast/crash/linux/crash_util.h" | 9 #include "chromecast/crash/linux/crash_util.h" |
| 10 #include "components/crash/app/breakpad_linux.h" | 10 #include "components/crash/content/app/breakpad_linux.h" |
| 11 #include "content/public/common/content_switches.h" | 11 #include "content/public/common/content_switches.h" |
| 12 | 12 |
| 13 namespace chromecast { | 13 namespace chromecast { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 std::string* g_process_type = nullptr; | 17 std::string* g_process_type = nullptr; |
| 18 uint64_t g_process_start_time_ms = 0u; | 18 uint64_t g_process_start_time_ms = 0u; |
| 19 | 19 |
| 20 } // namespace | 20 } // namespace |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 CrashUtil::RequestUploadCrashDump(crashdump_filename, | 68 CrashUtil::RequestUploadCrashDump(crashdump_filename, |
| 69 GetProcessType() ? GetProcessType() : "", | 69 GetProcessType() ? GetProcessType() : "", |
| 70 GetProcessStartTime()); | 70 GetProcessStartTime()); |
| 71 | 71 |
| 72 // Always return true to indicate that this crash dump has been processed, | 72 // Always return true to indicate that this crash dump has been processed, |
| 73 // so that it won't fallback to use chrome's default uploader. | 73 // so that it won't fallback to use chrome's default uploader. |
| 74 return true; | 74 return true; |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace chromecast | 77 } // namespace chromecast |
| OLD | NEW |