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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 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/630495. | |
109 { "swdh_register_cannot_host_url", kLargeSize }, | |
110 { "swdh_register_cannot_scope_url", kLargeSize }, | |
111 { "swdh_register_cannot_script_url", kLargeSize }, | |
112 | |
113 // Temporary for https://crbug.com/630496. | |
114 { "swdh_get_registration_cannot_host_url", kLargeSize }, | |
115 { "swdh_get_registration_cannot_document_url", kLargeSize }, | |
116 | |
117 // Temporary for https://crbug.com/668633. | 108 // Temporary for https://crbug.com/668633. |
118 { "swdh_set_hosted_version_worker_pid", kSmallSize }, | 109 { "swdh_set_hosted_version_worker_pid", kSmallSize }, |
119 { "swdh_set_hosted_version_host_pid", kSmallSize }, | 110 { "swdh_set_hosted_version_host_pid", kSmallSize }, |
120 }; | 111 }; |
121 | 112 |
122 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), | 113 return base::debug::InitCrashKeys(fixed_keys, arraysize(fixed_keys), |
123 kChunkMaxLength); | 114 kChunkMaxLength); |
124 } | 115 } |
125 | 116 |
126 } // namespace crash_keys | 117 } // namespace crash_keys |
127 } // namespace chromecast | 118 } // namespace chromecast |
OLD | NEW |