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/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/format_macros.h" | 8 #include "base/format_macros.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 { kGPUVertexShaderVersion, kSmallSize }, | 140 { kGPUVertexShaderVersion, kSmallSize }, |
141 #if defined(OS_MACOSX) | 141 #if defined(OS_MACOSX) |
142 { kGPUGLVersion, kSmallSize }, | 142 { kGPUGLVersion, kSmallSize }, |
143 #elif defined(OS_POSIX) | 143 #elif defined(OS_POSIX) |
144 { kGPUVendor, kSmallSize }, | 144 { kGPUVendor, kSmallSize }, |
145 { kGPURenderer, kSmallSize }, | 145 { kGPURenderer, kSmallSize }, |
146 #endif | 146 #endif |
147 | 147 |
148 // base/: | 148 // base/: |
149 { "dm-usage", kSmallSize }, | 149 { "dm-usage", kSmallSize }, |
| 150 { "dm-usage-free", kSmallSize }, |
150 { "total-dm-usage", kSmallSize }, | 151 { "total-dm-usage", kSmallSize }, |
151 // content/: | 152 // content/: |
152 { kFontKeyName, kSmallSize}, | 153 { kFontKeyName, kSmallSize}, |
153 { "ppapi_path", kMediumSize }, | 154 { "ppapi_path", kMediumSize }, |
154 { "subresource_url", kLargeSize }, | 155 { "subresource_url", kLargeSize }, |
155 #if defined(OS_CHROMEOS) | 156 #if defined(OS_CHROMEOS) |
156 { kNumberOfUsers, kSmallSize }, | 157 { kNumberOfUsers, kSmallSize }, |
157 #endif | 158 #endif |
158 #if defined(OS_MACOSX) | 159 #if defined(OS_MACOSX) |
159 { mac::kFirstNSException, kMediumSize }, | 160 { mac::kFirstNSException, kMediumSize }, |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 } | 404 } |
404 | 405 |
405 ScopedPrinterInfo::~ScopedPrinterInfo() { | 406 ScopedPrinterInfo::~ScopedPrinterInfo() { |
406 for (size_t i = 0; i < kPrinterInfoCount; ++i) { | 407 for (size_t i = 0; i < kPrinterInfoCount; ++i) { |
407 std::string key = base::StringPrintf(kPrinterInfo, i + 1); | 408 std::string key = base::StringPrintf(kPrinterInfo, i + 1); |
408 base::debug::ClearCrashKey(key); | 409 base::debug::ClearCrashKey(key); |
409 } | 410 } |
410 } | 411 } |
411 | 412 |
412 } // namespace crash_keys | 413 } // namespace crash_keys |
OLD | NEW |