| 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/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace breakpad { | 10 namespace breakpad { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 100 } |
| 101 | 101 |
| 102 bool BreakpadClient::IsRunningUnattended() { | 102 bool BreakpadClient::IsRunningUnattended() { |
| 103 return false; | 103 return false; |
| 104 } | 104 } |
| 105 | 105 |
| 106 #if defined(OS_WIN) || defined(OS_MACOSX) | 106 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 107 bool BreakpadClient::GetCollectStatsConsent() { | 107 bool BreakpadClient::GetCollectStatsConsent() { |
| 108 return false; | 108 return false; |
| 109 } | 109 } |
| 110 |
| 111 bool BreakpadClient::ReportingIsEnforcedByPolicy(bool* breakpad_enabled) { |
| 112 return false; |
| 113 } |
| 110 #endif | 114 #endif |
| 111 | 115 |
| 112 #if defined(OS_ANDROID) | 116 #if defined(OS_ANDROID) |
| 113 int BreakpadClient::GetAndroidMinidumpDescriptor() { | 117 int BreakpadClient::GetAndroidMinidumpDescriptor() { |
| 114 return 0; | 118 return 0; |
| 115 } | 119 } |
| 116 #endif | 120 #endif |
| 117 | 121 |
| 118 #if defined(OS_MACOSX) | 122 #if defined(OS_MACOSX) |
| 119 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { | 123 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { |
| 120 } | 124 } |
| 121 | |
| 122 bool BreakpadClient::ReportingIsEnforcedByPolicy() { | |
| 123 return false; | |
| 124 } | |
| 125 #endif | 125 #endif |
| 126 | 126 |
| 127 } // namespace breakpad | 127 } // namespace breakpad |
| OLD | NEW |