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

Side by Side Diff: chrome/app/chrome_crash_reporter_client_win.cc

Issue 2797433002: Include Google Update integration details in crash keys and about:version. (Closed)
Patch Set: components/version_ui/OWNERS now own version_ui_strings.grdp Created 3 years, 8 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 | chrome/browser/chrome_browser_main_win.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 // TODO(ananta/scottmg) 5 // TODO(ananta/scottmg)
6 // Add test coverage for Crashpad. 6 // Add test coverage for Crashpad.
7 #include "chrome/app/chrome_crash_reporter_client_win.h" 7 #include "chrome/app/chrome_crash_reporter_client_win.h"
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 // Installed extensions. |kExtensionID| should be formatted with an integer, 39 // Installed extensions. |kExtensionID| should be formatted with an integer,
40 // in the range [0, kExtensionIDMaxCount). 40 // in the range [0, kExtensionIDMaxCount).
41 constexpr char kNumExtensionsCount[] = "num-extensions"; 41 constexpr char kNumExtensionsCount[] = "num-extensions";
42 constexpr size_t kExtensionIDMaxCount = 10; 42 constexpr size_t kExtensionIDMaxCount = 10;
43 constexpr char kExtensionID[] = "extension-%" PRIuS; 43 constexpr char kExtensionID[] = "extension-%" PRIuS;
44 44
45 constexpr char kShutdownType[] = "shutdown-type"; 45 constexpr char kShutdownType[] = "shutdown-type";
46 constexpr char kBrowserUnpinTrace[] = "browser-unpin-trace"; 46 constexpr char kBrowserUnpinTrace[] = "browser-unpin-trace";
47 47
48 // Registry values used to determine Chrome's update channel; see
49 // https://crbug.com/579504.
50 constexpr char kApValue[] = "ap";
51 constexpr char kCohortName[] = "cohort-name";
52
48 constexpr char kGPUVendorID[] = "gpu-venid"; 53 constexpr char kGPUVendorID[] = "gpu-venid";
49 constexpr char kGPUDeviceID[] = "gpu-devid"; 54 constexpr char kGPUDeviceID[] = "gpu-devid";
50 constexpr char kGPUDriverVersion[] = "gpu-driver"; 55 constexpr char kGPUDriverVersion[] = "gpu-driver";
51 constexpr char kGPUPixelShaderVersion[] = "gpu-psver"; 56 constexpr char kGPUPixelShaderVersion[] = "gpu-psver";
52 constexpr char kGPUVertexShaderVersion[] = "gpu-vsver"; 57 constexpr char kGPUVertexShaderVersion[] = "gpu-vsver";
53 58
54 constexpr char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; 59 constexpr char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks";
55 constexpr char kHungRendererOutstandingEventType[] = 60 constexpr char kHungRendererOutstandingEventType[] =
56 "hung-outstanding-event-type"; 61 "hung-outstanding-event-type";
57 constexpr char kHungRendererLastEventType[] = "hung-last-event-type"; 62 constexpr char kHungRendererLastEventType[] = "hung-last-event-type";
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // chrome/common/crash_keys.cc::RegisterChromeCrashKeys(). 98 // chrome/common/crash_keys.cc::RegisterChromeCrashKeys().
94 static constexpr base::debug::CrashKey kFixedKeys[] = { 99 static constexpr base::debug::CrashKey kFixedKeys[] = {
95 {kMetricsClientId, kSmallSize}, 100 {kMetricsClientId, kSmallSize},
96 {kChannel, kSmallSize}, 101 {kChannel, kSmallSize},
97 {kActiveURL, kLargeSize}, 102 {kActiveURL, kLargeSize},
98 {kNumVariations, kSmallSize}, 103 {kNumVariations, kSmallSize},
99 {kVariations, kHugeSize}, 104 {kVariations, kHugeSize},
100 {kNumExtensionsCount, kSmallSize}, 105 {kNumExtensionsCount, kSmallSize},
101 {kShutdownType, kSmallSize}, 106 {kShutdownType, kSmallSize},
102 {kBrowserUnpinTrace, kMediumSize}, 107 {kBrowserUnpinTrace, kMediumSize},
108 {kApValue, kSmallSize},
109 {kCohortName, kSmallSize},
103 {kGPUVendorID, kSmallSize}, 110 {kGPUVendorID, kSmallSize},
104 {kGPUDeviceID, kSmallSize}, 111 {kGPUDeviceID, kSmallSize},
105 {kGPUDriverVersion, kSmallSize}, 112 {kGPUDriverVersion, kSmallSize},
106 {kGPUPixelShaderVersion, kSmallSize}, 113 {kGPUPixelShaderVersion, kSmallSize},
107 {kGPUVertexShaderVersion, kSmallSize}, 114 {kGPUVertexShaderVersion, kSmallSize},
108 115
109 // browser/: 116 // browser/:
110 {kThirdPartyModulesLoaded, kSmallSize}, 117 {kThirdPartyModulesLoaded, kSmallSize},
111 {kThirdPartyModulesNotLoaded, kSmallSize}, 118 {kThirdPartyModulesNotLoaded, kSmallSize},
112 {kIsEnterpriseManaged, kSmallSize}, 119 {kIsEnterpriseManaged, kSmallSize},
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 bool ChromeCrashReporterClient::GetCollectStatsInSample() { 404 bool ChromeCrashReporterClient::GetCollectStatsInSample() {
398 return install_static::GetCollectStatsInSample(); 405 return install_static::GetCollectStatsInSample();
399 } 406 }
400 407
401 bool ChromeCrashReporterClient::EnableBreakpadForProcess( 408 bool ChromeCrashReporterClient::EnableBreakpadForProcess(
402 const std::string& process_type) { 409 const std::string& process_type) {
403 // This is not used by Crashpad (at least on Windows). 410 // This is not used by Crashpad (at least on Windows).
404 NOTREACHED(); 411 NOTREACHED();
405 return true; 412 return true;
406 } 413 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698