| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "base/macros.h" | 5 #include "base/macros.h" |
| 6 #include "chromecast/crash/cast_crash_keys.h" | 6 #include "chromecast/crash/cast_crash_keys.h" |
| 7 | 7 |
| 8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast | 8 // TODO(kjoswiak): Potentially refactor chunk size info as well as non-cast |
| 9 // specific keys out and make shared with chrome/common/crash_keys.cc. | 9 // specific keys out and make shared with chrome/common/crash_keys.cc. |
| 10 namespace { | 10 namespace { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // Temporary for https://crbug.com/630103. | 95 // Temporary for https://crbug.com/630103. |
| 96 { "origin_mismatch_url", kLargeSize }, | 96 { "origin_mismatch_url", kLargeSize }, |
| 97 { "origin_mismatch_origin", kMediumSize }, | 97 { "origin_mismatch_origin", kMediumSize }, |
| 98 { "origin_mismatch_transition", kSmallSize }, | 98 { "origin_mismatch_transition", kSmallSize }, |
| 99 { "origin_mismatch_redirects", kSmallSize }, | 99 { "origin_mismatch_redirects", kSmallSize }, |
| 100 { "origin_mismatch_same_page", kSmallSize }, | 100 { "origin_mismatch_same_page", kSmallSize }, |
| 101 | 101 |
| 102 // Temporary for https://crbug.com/612711. | 102 // Temporary for https://crbug.com/612711. |
| 103 { "aci_wrong_sp_extension_id", kSmallSize }, | 103 { "aci_wrong_sp_extension_id", kSmallSize }, |
| 104 | 104 |
| 105 // Temporary for https://crbug.com/616149. | |
| 106 { "existing_extension_pref_value_type", kSmallSize }, | |
| 107 | |
| 108 // Temporary for https://crbug.com/668633. | 105 // Temporary for https://crbug.com/668633. |
| 109 { "swdh_set_hosted_version_worker_pid", kSmallSize }, | 106 { "swdh_set_hosted_version_worker_pid", kSmallSize }, |
| 110 { "swdh_set_hosted_version_host_pid", kSmallSize }, | 107 { "swdh_set_hosted_version_host_pid", kSmallSize }, |
| 111 { "swdh_set_hosted_version_is_new_process", kSmallSize }, | 108 { "swdh_set_hosted_version_is_new_process", kSmallSize }, |
| 112 { "swdh_set_hosted_version_restart_count", kSmallSize }, | 109 { "swdh_set_hosted_version_restart_count", kSmallSize }, |
| 113 }; | 110 }; |
| 114 | 111 |
| 115 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), | 112 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), |
| 116 kChunkMaxLength); | 113 kChunkMaxLength); |
| 117 } | 114 } |
| 118 | 115 |
| 119 } // namespace crash_keys | 116 } // namespace crash_keys |
| 120 } // namespace chromecast | 117 } // namespace chromecast |
| OLD | NEW |