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

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

Issue 2710183005: ozone: drm: Add more debug details when dmabuf mmap fails. (Closed)
Patch Set: Address reveman's nits. 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 { kHungRendererReason, kSmallSize }, 145 { kHungRendererReason, kSmallSize },
146 { kThirdPartyModulesLoaded, kSmallSize }, 146 { kThirdPartyModulesLoaded, kSmallSize },
147 { kThirdPartyModulesNotLoaded, kSmallSize }, 147 { kThirdPartyModulesNotLoaded, kSmallSize },
148 { kIsEnterpriseManaged, kSmallSize }, 148 { kIsEnterpriseManaged, kSmallSize },
149 #endif 149 #endif
150 { kInputEventFilterSendFailure, kSmallSize }, 150 { kInputEventFilterSendFailure, kSmallSize },
151 #if defined(OS_CHROMEOS) 151 #if defined(OS_CHROMEOS)
152 { kNumberOfUsers, kSmallSize }, 152 { kNumberOfUsers, kSmallSize },
153 // Temporary for https://crbug.com/660960 153 // Temporary for https://crbug.com/660960
154 { kLastGoodCloseStack, kMediumSize }, 154 { kLastGoodCloseStack, kMediumSize },
155 // Temporary for https://crbug.com/629521
156 { "mmap_params", kSmallSize },
157 { "buffer_size", kSmallSize },
158 { "errno", kSmallSize },
155 #endif 159 #endif
156 #if defined(OS_MACOSX) 160 #if defined(OS_MACOSX)
157 { mac::kFirstNSException, kMediumSize }, 161 { mac::kFirstNSException, kMediumSize },
158 { mac::kFirstNSExceptionTrace, kMediumSize }, 162 { mac::kFirstNSExceptionTrace, kMediumSize },
159 { mac::kLastNSException, kMediumSize }, 163 { mac::kLastNSException, kMediumSize },
160 { mac::kLastNSExceptionTrace, kMediumSize }, 164 { mac::kLastNSExceptionTrace, kMediumSize },
161 { mac::kNSException, kMediumSize }, 165 { mac::kNSException, kMediumSize },
162 { mac::kNSExceptionTrace, kMediumSize }, 166 { mac::kNSExceptionTrace, kMediumSize },
163 { mac::kSendAction, kMediumSize }, 167 { mac::kSendAction, kMediumSize },
164 { mac::kNSEvent, kMediumSize }, 168 { mac::kNSEvent, kMediumSize },
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 } 374 }
371 375
372 ScopedPrinterInfo::~ScopedPrinterInfo() { 376 ScopedPrinterInfo::~ScopedPrinterInfo() {
373 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 377 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
374 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 378 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
375 base::debug::ClearCrashKey(key); 379 base::debug::ClearCrashKey(key);
376 } 380 }
377 } 381 }
378 382
379 } // namespace crash_keys 383 } // 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