| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/breakpad/breakpad_client.h" | 5 #include "components/breakpad/breakpad_client.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace breakpad { | 9 namespace breakpad { |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 bool BreakpadClient::GetAlternativeCrashDumpLocation( | 30 bool BreakpadClient::GetAlternativeCrashDumpLocation( |
| 31 base::FilePath* crash_dir) { | 31 base::FilePath* crash_dir) { |
| 32 return false; | 32 return false; |
| 33 } | 33 } |
| 34 | 34 |
| 35 void BreakpadClient::GetProductNameAndVersion(const base::FilePath& exe_path, | 35 void BreakpadClient::GetProductNameAndVersion(const base::FilePath& exe_path, |
| 36 base::string16* product_name, | 36 base::string16* product_name, |
| 37 base::string16* version, | 37 base::string16* version, |
| 38 base::string16* special_build) { | 38 base::string16* special_build) { |
| 39 } | 39 } |
| 40 |
| 41 bool BreakpadClient::ShouldShowRestartDialog(base::string16* title, |
| 42 base::string16* message, |
| 43 bool* is_rtl_locale) { |
| 44 return false; |
| 45 } |
| 46 |
| 47 bool BreakpadClient::AboutToRestart() { |
| 48 return true; |
| 49 } |
| 40 #endif | 50 #endif |
| 41 | 51 |
| 42 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) | 52 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |
| 43 void BreakpadClient::GetProductNameAndVersion(std::string* product_name, | 53 void BreakpadClient::GetProductNameAndVersion(std::string* product_name, |
| 44 std::string* version) { | 54 std::string* version) { |
| 45 } | 55 } |
| 46 #endif | 56 #endif |
| 47 | 57 |
| 48 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { | 58 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { |
| 49 return false; | 59 return false; |
| 50 } | 60 } |
| 51 | 61 |
| 52 #if defined(OS_POSIX) | 62 #if defined(OS_POSIX) |
| 53 void BreakpadClient::SetDumpWithoutCrashingFunction(void (*function)()) { | 63 void BreakpadClient::SetDumpWithoutCrashingFunction(void (*function)()) { |
| 54 } | 64 } |
| 55 #endif | 65 #endif |
| 56 | 66 |
| 57 size_t BreakpadClient::RegisterCrashKeys() { | 67 size_t BreakpadClient::RegisterCrashKeys() { |
| 58 return 0; | 68 return 0; |
| 59 } | 69 } |
| 60 | 70 |
| 71 bool BreakpadClient::IsRunningUnattended() { |
| 72 return false; |
| 73 } |
| 74 |
| 61 } // namespace breakpad | 75 } // namespace breakpad |
| OLD | NEW |