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

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

Issue 2705293003: Remove DumpWithoutCrashing() and keys from audio_manager (Closed)
Patch Set: remove unnecessary #includes Created 3 years, 10 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/common/crash_keys.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 <assert.h> 9 #include <assert.h>
10 #include <windows.h> 10 #include <windows.h>
(...skipping 30 matching lines...) Expand all
41 41
42 constexpr char kShutdownType[] = "shutdown-type"; 42 constexpr char kShutdownType[] = "shutdown-type";
43 constexpr char kBrowserUnpinTrace[] = "browser-unpin-trace"; 43 constexpr char kBrowserUnpinTrace[] = "browser-unpin-trace";
44 44
45 constexpr char kGPUVendorID[] = "gpu-venid"; 45 constexpr char kGPUVendorID[] = "gpu-venid";
46 constexpr char kGPUDeviceID[] = "gpu-devid"; 46 constexpr char kGPUDeviceID[] = "gpu-devid";
47 constexpr char kGPUDriverVersion[] = "gpu-driver"; 47 constexpr char kGPUDriverVersion[] = "gpu-driver";
48 constexpr char kGPUPixelShaderVersion[] = "gpu-psver"; 48 constexpr char kGPUPixelShaderVersion[] = "gpu-psver";
49 constexpr char kGPUVertexShaderVersion[] = "gpu-vsver"; 49 constexpr char kGPUVertexShaderVersion[] = "gpu-vsver";
50 50
51 constexpr char kHungAudioThreadDetails[] = "hung-audio-thread-details";
52 constexpr char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks"; 51 constexpr char kHungRendererOutstandingAckCount[] = "hung-outstanding-acks";
53 constexpr char kHungRendererOutstandingEventType[] = 52 constexpr char kHungRendererOutstandingEventType[] =
54 "hung-outstanding-event-type"; 53 "hung-outstanding-event-type";
55 constexpr char kHungRendererLastEventType[] = "hung-last-event-type"; 54 constexpr char kHungRendererLastEventType[] = "hung-last-event-type";
56 constexpr char kHungRendererReason[] = "hung-reason"; 55 constexpr char kHungRendererReason[] = "hung-reason";
57 constexpr char kInputEventFilterSendFailure[] = 56 constexpr char kInputEventFilterSendFailure[] =
58 "input-event-filter-send-failure"; 57 "input-event-filter-send-failure";
59 58
60 constexpr char kThirdPartyModulesLoaded[] = "third-party-modules-loaded"; 59 constexpr char kThirdPartyModulesLoaded[] = "third-party-modules-loaded";
61 constexpr char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded"; 60 constexpr char kThirdPartyModulesNotLoaded[] = "third-party-modules-not-loaded";
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 {"total-discardable-memory-allocated", kSmallSize}, 119 {"total-discardable-memory-allocated", kSmallSize},
121 {kBug464926CrashKey, kSmallSize}, 120 {kBug464926CrashKey, kSmallSize},
122 {kViewCount, kSmallSize}, 121 {kViewCount, kSmallSize},
123 {kHungRendererOutstandingAckCount, kSmallSize}, 122 {kHungRendererOutstandingAckCount, kSmallSize},
124 {kHungRendererOutstandingEventType, kSmallSize}, 123 {kHungRendererOutstandingEventType, kSmallSize},
125 {kHungRendererLastEventType, kSmallSize}, 124 {kHungRendererLastEventType, kSmallSize},
126 {kHungRendererReason, kSmallSize}, 125 {kHungRendererReason, kSmallSize},
127 {kInputEventFilterSendFailure, kSmallSize}, 126 {kInputEventFilterSendFailure, kSmallSize},
128 127
129 // media/: 128 // media/:
130 {kHungAudioThreadDetails, kSmallSize},
131 {kZeroEncodeDetails, kSmallSize}, 129 {kZeroEncodeDetails, kSmallSize},
132 130
133 // gin/: 131 // gin/:
134 {"v8-ignition", kSmallSize}, 132 {"v8-ignition", kSmallSize},
135 133
136 // Temporary for http://crbug.com/575245. 134 // Temporary for http://crbug.com/575245.
137 {"swapout_frame_id", kSmallSize}, 135 {"swapout_frame_id", kSmallSize},
138 {"swapout_proxy_id", kSmallSize}, 136 {"swapout_proxy_id", kSmallSize},
139 {"swapout_view_id", kSmallSize}, 137 {"swapout_view_id", kSmallSize},
140 {"commit_frame_id", kSmallSize}, 138 {"commit_frame_id", kSmallSize},
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 bool ChromeCrashReporterClient::GetCollectStatsInSample() { 401 bool ChromeCrashReporterClient::GetCollectStatsInSample() {
404 return install_static::GetCollectStatsInSample(); 402 return install_static::GetCollectStatsInSample();
405 } 403 }
406 404
407 bool ChromeCrashReporterClient::EnableBreakpadForProcess( 405 bool ChromeCrashReporterClient::EnableBreakpadForProcess(
408 const std::string& process_type) { 406 const std::string& process_type) {
409 // This is not used by Crashpad (at least on Windows). 407 // This is not used by Crashpad (at least on Windows).
410 NOTREACHED(); 408 NOTREACHED();
411 return true; 409 return true;
412 } 410 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/crash_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698