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

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

Issue 2377963002: restore LOG_FATAL crash key on windows
Patch Set: move CrashMessageHandler out of base Created 4 years, 1 month 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 | « chrome/common/child_process_logging_win.cc ('k') | components/crash/content/app/crashpad.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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 base::debug::CrashKey fixed_keys[] = { 100 base::debug::CrashKey fixed_keys[] = {
101 #if defined(OS_MACOSX) || defined(OS_WIN) 101 #if defined(OS_MACOSX) || defined(OS_WIN)
102 { kMetricsClientId, kSmallSize }, 102 { kMetricsClientId, kSmallSize },
103 #else 103 #else
104 { kClientId, kSmallSize }, 104 { kClientId, kSmallSize },
105 #endif 105 #endif
106 { kChannel, kSmallSize }, 106 { kChannel, kSmallSize },
107 { kActiveURL, kLargeSize }, 107 { kActiveURL, kLargeSize },
108 { kNumVariations, kSmallSize }, 108 { kNumVariations, kSmallSize },
109 { kVariations, kLargeSize }, 109 { kVariations, kLargeSize },
110 { kLogFatal, kLargeSize },
110 { kNumExtensionsCount, kSmallSize }, 111 { kNumExtensionsCount, kSmallSize },
111 { kShutdownType, kSmallSize }, 112 { kShutdownType, kSmallSize },
112 #if !defined(OS_ANDROID) 113 #if !defined(OS_ANDROID)
113 { kGPUVendorID, kSmallSize }, 114 { kGPUVendorID, kSmallSize },
114 { kGPUDeviceID, kSmallSize }, 115 { kGPUDeviceID, kSmallSize },
115 #endif 116 #endif
116 { kGPUDriverVersion, kSmallSize }, 117 { kGPUDriverVersion, kSmallSize },
117 { kGPUPixelShaderVersion, kSmallSize }, 118 { kGPUPixelShaderVersion, kSmallSize },
118 { kGPUVertexShaderVersion, kSmallSize }, 119 { kGPUVertexShaderVersion, kSmallSize },
119 #if defined(OS_MACOSX) 120 #if defined(OS_MACOSX)
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 368 }
368 369
369 ScopedPrinterInfo::~ScopedPrinterInfo() { 370 ScopedPrinterInfo::~ScopedPrinterInfo() {
370 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 371 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
371 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 372 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
372 base::debug::ClearCrashKey(key); 373 base::debug::ClearCrashKey(key);
373 } 374 }
374 } 375 }
375 376
376 } // namespace crash_keys 377 } // namespace crash_keys
OLDNEW
« no previous file with comments | « chrome/common/child_process_logging_win.cc ('k') | components/crash/content/app/crashpad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698