Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: chrome/common/crash_keys.cc

Issue 2725813005: ozone: drm: Add fd number to crash keys when dmabuf mmap fails. (Closed)
Patch Set: remove unrelated change Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 #endif 152 #endif
153 {kInputEventFilterSendFailure, kSmallSize}, 153 {kInputEventFilterSendFailure, kSmallSize},
154 #if defined(OS_CHROMEOS) 154 #if defined(OS_CHROMEOS)
155 {kNumberOfUsers, kSmallSize}, 155 {kNumberOfUsers, kSmallSize},
156 // Temporary for https://crbug.com/660960 156 // Temporary for https://crbug.com/660960
157 {kLastGoodCloseStack, kMediumSize}, 157 {kLastGoodCloseStack, kMediumSize},
158 // Temporary for https://crbug.com/629521 158 // Temporary for https://crbug.com/629521
159 {"mmap_params", kSmallSize}, 159 {"mmap_params", kSmallSize},
160 {"buffer_size", kSmallSize}, 160 {"buffer_size", kSmallSize},
161 {"errno", kSmallSize}, 161 {"errno", kSmallSize},
162 {"number_of_fds", kSmallSize},
162 #endif 163 #endif
163 #if defined(OS_MACOSX) 164 #if defined(OS_MACOSX)
164 {mac::kFirstNSException, kMediumSize}, 165 {mac::kFirstNSException, kMediumSize},
165 {mac::kFirstNSExceptionTrace, kMediumSize}, 166 {mac::kFirstNSExceptionTrace, kMediumSize},
166 {mac::kLastNSException, kMediumSize}, 167 {mac::kLastNSException, kMediumSize},
167 {mac::kLastNSExceptionTrace, kMediumSize}, 168 {mac::kLastNSExceptionTrace, kMediumSize},
168 {mac::kNSException, kMediumSize}, 169 {mac::kNSException, kMediumSize},
169 {mac::kNSExceptionTrace, kMediumSize}, 170 {mac::kNSExceptionTrace, kMediumSize},
170 {mac::kSendAction, kMediumSize}, 171 {mac::kSendAction, kMediumSize},
171 {mac::kNSEvent, kMediumSize}, 172 {mac::kNSEvent, kMediumSize},
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 } 378 }
378 379
379 ScopedPrinterInfo::~ScopedPrinterInfo() { 380 ScopedPrinterInfo::~ScopedPrinterInfo() {
380 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 381 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
381 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 382 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
382 base::debug::ClearCrashKey(key); 383 base::debug::ClearCrashKey(key);
383 } 384 }
384 } 385 }
385 386
386 } // namespace crash_keys 387 } // namespace crash_keys
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698