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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 #endif | 155 #endif |
156 #if defined(OS_MACOSX) | 156 #if defined(OS_MACOSX) |
157 { mac::kFirstNSException, kMediumSize }, | 157 { mac::kFirstNSException, kMediumSize }, |
158 { mac::kFirstNSExceptionTrace, kMediumSize }, | 158 { mac::kFirstNSExceptionTrace, kMediumSize }, |
159 { mac::kLastNSException, kMediumSize }, | 159 { mac::kLastNSException, kMediumSize }, |
160 { mac::kLastNSExceptionTrace, kMediumSize }, | 160 { mac::kLastNSExceptionTrace, kMediumSize }, |
161 { mac::kNSException, kMediumSize }, | 161 { mac::kNSException, kMediumSize }, |
162 { mac::kNSExceptionTrace, kMediumSize }, | 162 { mac::kNSExceptionTrace, kMediumSize }, |
163 { mac::kSendAction, kMediumSize }, | 163 { mac::kSendAction, kMediumSize }, |
164 { mac::kNSEvent, kMediumSize }, | 164 { mac::kNSEvent, kMediumSize }, |
| 165 { mac::kToolbarNibInfo, kMediumSize }, |
165 { mac::kZombie, kMediumSize }, | 166 { mac::kZombie, kMediumSize }, |
166 { mac::kZombieTrace, kMediumSize }, | 167 { mac::kZombieTrace, kMediumSize }, |
167 // content/: | 168 // content/: |
168 { "channel_error_bt", kMediumSize }, | 169 { "channel_error_bt", kMediumSize }, |
169 { "remove_route_bt", kMediumSize }, | 170 { "remove_route_bt", kMediumSize }, |
170 { "rwhvm_window", kMediumSize }, | 171 { "rwhvm_window", kMediumSize }, |
171 // media/: | 172 // media/: |
172 #endif | 173 #endif |
173 { kBug464926CrashKey, kSmallSize }, | 174 { kBug464926CrashKey, kSmallSize }, |
174 { kViewCount, kSmallSize }, | 175 { kViewCount, kSmallSize }, |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 } | 376 } |
376 | 377 |
377 ScopedPrinterInfo::~ScopedPrinterInfo() { | 378 ScopedPrinterInfo::~ScopedPrinterInfo() { |
378 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 379 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
379 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 380 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
380 base::debug::ClearCrashKey(key); | 381 base::debug::ClearCrashKey(key); |
381 } | 382 } |
382 } | 383 } |
383 | 384 |
384 } // namespace crash_keys | 385 } // namespace crash_keys |
OLD | NEW |