| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/common/crash_keys.h" | 5 #include "chrome/common/crash_keys.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // Temporary for https://crbug.com/591478. | 186 // Temporary for https://crbug.com/591478. |
| 187 { "initrf_parent_proxy_exists", kSmallSize }, | 187 { "initrf_parent_proxy_exists", kSmallSize }, |
| 188 { "initrf_render_view_is_live", kSmallSize }, | 188 { "initrf_render_view_is_live", kSmallSize }, |
| 189 { "initrf_parent_is_in_same_site_instance", kSmallSize}, | 189 { "initrf_parent_is_in_same_site_instance", kSmallSize}, |
| 190 { "initrf_parent_process_is_live", kSmallSize}, | 190 { "initrf_parent_process_is_live", kSmallSize}, |
| 191 { "initrf_root_is_in_same_site_instance", kSmallSize}, | 191 { "initrf_root_is_in_same_site_instance", kSmallSize}, |
| 192 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, | 192 { "initrf_root_is_in_same_site_instance_as_parent", kSmallSize}, |
| 193 { "initrf_root_process_is_live", kSmallSize}, | 193 { "initrf_root_process_is_live", kSmallSize}, |
| 194 { "initrf_root_proxy_is_live", kSmallSize}, | 194 { "initrf_root_proxy_is_live", kSmallSize}, |
| 195 | 195 |
| 196 // Temporary for https://crbug.com/626802. |
| 197 { "newframe_routing_id", kSmallSize }, |
| 198 { "newframe_proxy_id", kSmallSize }, |
| 199 { "newframe_opener_id", kSmallSize }, |
| 200 { "newframe_parent_id", kSmallSize }, |
| 201 { "newframe_widget_id", kSmallSize }, |
| 202 { "newframe_widget_hidden", kSmallSize }, |
| 203 { "newframe_replicated_origin", kSmallSize }, |
| 204 { "newframe_oopifs_possible", kSmallSize }, |
| 205 |
| 196 // Temporary for https://crbug.com/630103. | 206 // Temporary for https://crbug.com/630103. |
| 197 { "origin_mismatch_url", crash_keys::kLargeSize }, | 207 { "origin_mismatch_url", crash_keys::kLargeSize }, |
| 198 { "origin_mismatch_origin", crash_keys::kMediumSize }, | 208 { "origin_mismatch_origin", crash_keys::kMediumSize }, |
| 199 { "origin_mismatch_transition", crash_keys::kSmallSize }, | 209 { "origin_mismatch_transition", crash_keys::kSmallSize }, |
| 200 { "origin_mismatch_redirects", crash_keys::kSmallSize }, | 210 { "origin_mismatch_redirects", crash_keys::kSmallSize }, |
| 201 { "origin_mismatch_same_page", crash_keys::kSmallSize }, | 211 { "origin_mismatch_same_page", crash_keys::kSmallSize }, |
| 202 | 212 |
| 203 // Temporary for https://crbug.com/612711. | 213 // Temporary for https://crbug.com/612711. |
| 204 { "aci_wrong_sp_extension_id", kSmallSize }, | 214 { "aci_wrong_sp_extension_id", kSmallSize }, |
| 205 | 215 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 } | 365 } |
| 356 | 366 |
| 357 ScopedPrinterInfo::~ScopedPrinterInfo() { | 367 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 358 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 368 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 359 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 369 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 360 base::debug::ClearCrashKey(key); | 370 base::debug::ClearCrashKey(key); |
| 361 } | 371 } |
| 362 } | 372 } |
| 363 | 373 |
| 364 } // namespace crash_keys | 374 } // namespace crash_keys |
| OLD | NEW |