| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 105 // Temporary for https://crbug.com/616149. |
| 106 { "existing_extension_pref_value_type", kSmallSize }, | 106 { "existing_extension_pref_value_type", kSmallSize }, |
| 107 | 107 |
| 108 // Temporary for https://crbug.com/668633. | 108 // Temporary for https://crbug.com/668633. |
| 109 { "swdh_set_hosted_version_worker_pid", kSmallSize }, | 109 { "swdh_set_hosted_version_worker_pid", kSmallSize }, |
| 110 { "swdh_set_hosted_version_host_pid", kSmallSize }, | 110 { "swdh_set_hosted_version_host_pid", kSmallSize }, |
| 111 { "swdh_set_hosted_version_is_new_process", kSmallSize }, |
| 112 { "swdh_set_hosted_version_restart_count", kSmallSize }, |
| 111 }; | 113 }; |
| 112 | 114 |
| 113 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), | 115 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), |
| 114 kChunkMaxLength); | 116 kChunkMaxLength); |
| 115 } | 117 } |
| 116 | 118 |
| 117 } // namespace crash_keys | 119 } // namespace crash_keys |
| 118 } // namespace chromecast | 120 } // namespace chromecast |
| OLD | NEW |