| 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 // TODO(ananta/scottmg) | 5 // TODO(ananta/scottmg) |
| 6 // Add test coverage for Crashpad. | 6 // Add test coverage for Crashpad. |
| 7 #include "chrome/app/chrome_crash_reporter_client_win.h" | 7 #include "chrome/app/chrome_crash_reporter_client_win.h" |
| 8 | 8 |
| 9 #include <assert.h> | 9 #include <assert.h> |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 // Temporary for https://crbug.com/612711. | 184 // Temporary for https://crbug.com/612711. |
| 185 {"aci_wrong_sp_extension_id", kSmallSize}, | 185 {"aci_wrong_sp_extension_id", kSmallSize}, |
| 186 | 186 |
| 187 // Temporary for http://crbug.com/621730 | 187 // Temporary for http://crbug.com/621730 |
| 188 {"postmessage_src_origin", kMediumSize}, | 188 {"postmessage_src_origin", kMediumSize}, |
| 189 {"postmessage_dst_origin", kMediumSize}, | 189 {"postmessage_dst_origin", kMediumSize}, |
| 190 {"postmessage_dst_url", kLargeSize}, | 190 {"postmessage_dst_url", kLargeSize}, |
| 191 {"postmessage_script_info", kLargeSize}, | 191 {"postmessage_script_info", kLargeSize}, |
| 192 | 192 |
| 193 // Temporary for https://crbug.com/616149. | |
| 194 {"existing_extension_pref_value_type", crash_keys::kSmallSize}, | |
| 195 | |
| 196 // Temporary for https://crbug.com/668633. | 193 // Temporary for https://crbug.com/668633. |
| 197 {"swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize}, | 194 {"swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize}, |
| 198 {"swdh_set_hosted_version_host_pid", crash_keys::kSmallSize}, | 195 {"swdh_set_hosted_version_host_pid", crash_keys::kSmallSize}, |
| 199 {"swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize}, | 196 {"swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize}, |
| 200 {"swdh_set_hosted_version_restart_count", crash_keys::kSmallSize}, | 197 {"swdh_set_hosted_version_restart_count", crash_keys::kSmallSize}, |
| 201 | 198 |
| 202 // Temporary for https://crbug.com/688425 | 199 // Temporary for https://crbug.com/688425 |
| 203 {"navigation_controller_impl_renderer_did_navigate", | 200 {"navigation_controller_impl_renderer_did_navigate", |
| 204 crash_keys::kLargeSize}, | 201 crash_keys::kLargeSize}, |
| 205 }; | 202 }; |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 bool ChromeCrashReporterClient::GetCollectStatsInSample() { | 400 bool ChromeCrashReporterClient::GetCollectStatsInSample() { |
| 404 return install_static::GetCollectStatsInSample(); | 401 return install_static::GetCollectStatsInSample(); |
| 405 } | 402 } |
| 406 | 403 |
| 407 bool ChromeCrashReporterClient::EnableBreakpadForProcess( | 404 bool ChromeCrashReporterClient::EnableBreakpadForProcess( |
| 408 const std::string& process_type) { | 405 const std::string& process_type) { |
| 409 // This is not used by Crashpad (at least on Windows). | 406 // This is not used by Crashpad (at least on Windows). |
| 410 NOTREACHED(); | 407 NOTREACHED(); |
| 411 return true; | 408 return true; |
| 412 } | 409 } |
| OLD | NEW |