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

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

Issue 2569953003: [bgmode] Log the unpin stack trace to Crash Keys (Closed)
Patch Set: Created 4 years 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
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 15 matching lines...) Expand all
26 namespace crash_keys { 26 namespace crash_keys {
27 27
28 const char kActiveURL[] = "url-chunk"; 28 const char kActiveURL[] = "url-chunk";
29 29
30 const char kFontKeyName[] = "font_key_name"; 30 const char kFontKeyName[] = "font_key_name";
31 31
32 const char kExtensionID[] = "extension-%" PRIuS; 32 const char kExtensionID[] = "extension-%" PRIuS;
33 const char kNumExtensionsCount[] = "num-extensions"; 33 const char kNumExtensionsCount[] = "num-extensions";
34 34
35 const char kShutdownType[] = "shutdown-type"; 35 const char kShutdownType[] = "shutdown-type";
36 const char kBrowserUnpinTrace[] = "browser-unpin-trace";
sky 2016/12/14 16:34:03 keep sorted?
36 37
37 #if !defined(OS_ANDROID) 38 #if !defined(OS_ANDROID)
38 const char kGPUVendorID[] = "gpu-venid"; 39 const char kGPUVendorID[] = "gpu-venid";
39 const char kGPUDeviceID[] = "gpu-devid"; 40 const char kGPUDeviceID[] = "gpu-devid";
40 #endif 41 #endif
41 const char kGPUDriverVersion[] = "gpu-driver"; 42 const char kGPUDriverVersion[] = "gpu-driver";
42 const char kGPUPixelShaderVersion[] = "gpu-psver"; 43 const char kGPUPixelShaderVersion[] = "gpu-psver";
43 const char kGPUVertexShaderVersion[] = "gpu-vsver"; 44 const char kGPUVertexShaderVersion[] = "gpu-vsver";
44 #if defined(OS_MACOSX) 45 #if defined(OS_MACOSX)
45 const char kGPUGLVersion[] = "gpu-glver"; 46 const char kGPUGLVersion[] = "gpu-glver";
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 383 }
383 384
384 ScopedPrinterInfo::~ScopedPrinterInfo() { 385 ScopedPrinterInfo::~ScopedPrinterInfo() {
385 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 386 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
386 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 387 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
387 base::debug::ClearCrashKey(key); 388 base::debug::ClearCrashKey(key);
388 } 389 }
389 } 390 }
390 391
391 } // namespace crash_keys 392 } // namespace crash_keys
OLDNEW
« chrome/browser/browser_process_impl.cc ('K') | « chrome/common/crash_keys.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698