| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #if defined(OS_WIN) | 51 #if defined(OS_WIN) |
| 52 const char kHungAudioThreadDetails[] = "hung-audio-thread-details"; | 52 const char kHungAudioThreadDetails[] = "hung-audio-thread-details"; |
| 53 | 53 |
| 54 const char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; | 54 const char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; |
| 55 const char kHungRendererOutstandingEventType[] = "hung-outstanding-event-type"; | 55 const char kHungRendererOutstandingEventType[] = "hung-outstanding-event-type"; |
| 56 const char kHungRendererLastEventType[] = "hung-last-event-type"; | 56 const char kHungRendererLastEventType[] = "hung-last-event-type"; |
| 57 const char kHungRendererReason[] = "hung-reason"; | 57 const char kHungRendererReason[] = "hung-reason"; |
| 58 | 58 |
| 59 const char kThirdPartyModulesLoaded[] = "third-party-modules-loaded"; | 59 const char kThirdPartyModulesLoaded[] = "third-party-modules-loaded"; |
| 60 const char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded"; | 60 const char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded"; |
| 61 |
| 62 const char kDomainJoined[] = "domain-joined"; |
| 61 #endif | 63 #endif |
| 62 | 64 |
| 63 const char kInputEventFilterSendFailure[] = "input-event-filter-send-failure"; | 65 const char kInputEventFilterSendFailure[] = "input-event-filter-send-failure"; |
| 64 | 66 |
| 65 const char kPrinterInfo[] = "prn-info-%" PRIuS; | 67 const char kPrinterInfo[] = "prn-info-%" PRIuS; |
| 66 | 68 |
| 67 #if defined(OS_CHROMEOS) | 69 #if defined(OS_CHROMEOS) |
| 68 const char kNumberOfUsers[] = "num-users"; | 70 const char kNumberOfUsers[] = "num-users"; |
| 69 #endif | 71 #endif |
| 70 | 72 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 } | 377 } |
| 376 | 378 |
| 377 ScopedPrinterInfo::~ScopedPrinterInfo() { | 379 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 378 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 380 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 379 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 381 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 380 base::debug::ClearCrashKey(key); | 382 base::debug::ClearCrashKey(key); |
| 381 } | 383 } |
| 382 } | 384 } |
| 383 | 385 |
| 384 } // namespace crash_keys | 386 } // namespace crash_keys |
| OLD | NEW |