| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 const char kGPUPixelShaderVersion[] = "gpu-psver"; | 43 const char kGPUPixelShaderVersion[] = "gpu-psver"; |
| 44 const char kGPUVertexShaderVersion[] = "gpu-vsver"; | 44 const char kGPUVertexShaderVersion[] = "gpu-vsver"; |
| 45 #if defined(OS_MACOSX) | 45 #if defined(OS_MACOSX) |
| 46 const char kGPUGLVersion[] = "gpu-glver"; | 46 const char kGPUGLVersion[] = "gpu-glver"; |
| 47 #elif defined(OS_POSIX) | 47 #elif defined(OS_POSIX) |
| 48 const char kGPUVendor[] = "gpu-gl-vendor"; | 48 const char kGPUVendor[] = "gpu-gl-vendor"; |
| 49 const char kGPURenderer[] = "gpu-gl-renderer"; | 49 const char kGPURenderer[] = "gpu-gl-renderer"; |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 #if defined(OS_WIN) | 52 #if defined(OS_WIN) |
| 53 const char kHungAudioThreadDetails[] = "hung-audio-thread-details"; | |
| 54 | |
| 55 const char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; | 53 const char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; |
| 56 const char kHungRendererOutstandingEventType[] = "hung-outstanding-event-type"; | 54 const char kHungRendererOutstandingEventType[] = "hung-outstanding-event-type"; |
| 57 const char kHungRendererLastEventType[] = "hung-last-event-type"; | 55 const char kHungRendererLastEventType[] = "hung-last-event-type"; |
| 58 const char kHungRendererReason[] = "hung-reason"; | 56 const char kHungRendererReason[] = "hung-reason"; |
| 59 | 57 |
| 60 const char kThirdPartyModulesLoaded[] = "third-party-modules-loaded"; | 58 const char kThirdPartyModulesLoaded[] = "third-party-modules-loaded"; |
| 61 const char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded"; | 59 const char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded"; |
| 62 | 60 |
| 63 const char kEnrolledToDomain[] = "enrolled-to-domain"; | 61 const char kEnrolledToDomain[] = "enrolled-to-domain"; |
| 64 #endif | 62 #endif |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // content/: | 168 // content/: |
| 171 { "channel_error_bt", kMediumSize }, | 169 { "channel_error_bt", kMediumSize }, |
| 172 { "remove_route_bt", kMediumSize }, | 170 { "remove_route_bt", kMediumSize }, |
| 173 { "rwhvm_window", kMediumSize }, | 171 { "rwhvm_window", kMediumSize }, |
| 174 // media/: | 172 // media/: |
| 175 #endif | 173 #endif |
| 176 { kBug464926CrashKey, kSmallSize }, | 174 { kBug464926CrashKey, kSmallSize }, |
| 177 { kViewCount, kSmallSize }, | 175 { kViewCount, kSmallSize }, |
| 178 | 176 |
| 179 // media/: | 177 // media/: |
| 180 #if defined(OS_WIN) | |
| 181 { kHungAudioThreadDetails, kSmallSize }, | |
| 182 #endif | |
| 183 { kZeroEncodeDetails, kSmallSize }, | 178 { kZeroEncodeDetails, kSmallSize }, |
| 184 | 179 |
| 185 // gin/: | 180 // gin/: |
| 186 { "v8-ignition", kSmallSize }, | 181 { "v8-ignition", kSmallSize }, |
| 187 | 182 |
| 188 // sandbox/: | 183 // sandbox/: |
| 189 #if defined(OS_LINUX) | 184 #if defined(OS_LINUX) |
| 190 { "seccomp-sigsys", kMediumSize }, | 185 { "seccomp-sigsys", kMediumSize }, |
| 191 #endif | 186 #endif |
| 192 | 187 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 } | 377 } |
| 383 | 378 |
| 384 ScopedPrinterInfo::~ScopedPrinterInfo() { | 379 ScopedPrinterInfo::~ScopedPrinterInfo() { |
| 385 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 380 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
| 386 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 381 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
| 387 base::debug::ClearCrashKey(key); | 382 base::debug::ClearCrashKey(key); |
| 388 } | 383 } |
| 389 } | 384 } |
| 390 | 385 |
| 391 } // namespace crash_keys | 386 } // namespace crash_keys |
| OLD | NEW |