| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // Temporary for https://crbug.com/630103. | 234 // Temporary for https://crbug.com/630103. |
| 235 { "origin_mismatch_url", crash_keys::kLargeSize }, | 235 { "origin_mismatch_url", crash_keys::kLargeSize }, |
| 236 { "origin_mismatch_origin", crash_keys::kMediumSize }, | 236 { "origin_mismatch_origin", crash_keys::kMediumSize }, |
| 237 { "origin_mismatch_transition", crash_keys::kSmallSize }, | 237 { "origin_mismatch_transition", crash_keys::kSmallSize }, |
| 238 { "origin_mismatch_redirects", crash_keys::kSmallSize }, | 238 { "origin_mismatch_redirects", crash_keys::kSmallSize }, |
| 239 { "origin_mismatch_same_page", crash_keys::kSmallSize }, | 239 { "origin_mismatch_same_page", crash_keys::kSmallSize }, |
| 240 | 240 |
| 241 // Temporary for https://crbug.com/612711. | 241 // Temporary for https://crbug.com/612711. |
| 242 { "aci_wrong_sp_extension_id", kSmallSize }, | 242 { "aci_wrong_sp_extension_id", kSmallSize }, |
| 243 | 243 |
| 244 // Temporary for https://crbug.com/616149. | |
| 245 { "existing_extension_pref_value_type", crash_keys::kSmallSize }, | |
| 246 | |
| 247 // Temporary for https://crbug.com/668633. | 244 // Temporary for https://crbug.com/668633. |
| 248 { "swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize }, | 245 { "swdh_set_hosted_version_worker_pid", crash_keys::kSmallSize }, |
| 249 { "swdh_set_hosted_version_host_pid", crash_keys::kSmallSize }, | 246 { "swdh_set_hosted_version_host_pid", crash_keys::kSmallSize }, |
| 250 { "swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize }, | 247 { "swdh_set_hosted_version_is_new_process", crash_keys::kSmallSize }, |
| 251 { "swdh_set_hosted_version_restart_count", crash_keys::kSmallSize }, | 248 { "swdh_set_hosted_version_restart_count", crash_keys::kSmallSize }, |
| 252 | 249 |
| 253 // Temporary for https://crbug.com/688425 | 250 // Temporary for https://crbug.com/688425 |
| 254 { "navigation_controller_impl_renderer_did_navigate", | 251 { "navigation_controller_impl_renderer_did_navigate", |
| 255 crash_keys::kLargeSize }, | 252 crash_keys::kLargeSize }, |
| 256 }; | 253 }; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 } | 379 } |
| 383 | 380 |
| 384 ScopedPrinterInfo::~ScopedPrinterInfo() { | 381 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 385 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 382 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 386 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 383 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 387 base::debug::ClearCrashKey(key); | 384 base::debug::ClearCrashKey(key); |
| 388 } | 385 } |
| 389 } | 386 } |
| 390 | 387 |
| 391 } // namespace crash_keys | 388 } // namespace crash_keys |
| OLD | NEW |