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

Unified Diff: chrome/app/breakpad_linux.cc

Issue 23021021: Set the GPU info using the crash key system instead of platform-specific mechanisms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_linux.cc
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index 60e4fda3b08540aef54fc1f2cfbeb148c7073df3..f2c127d2a37263e5d8d850291ee82727841f7c81 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -1152,11 +1152,6 @@ void HandleCrashDump(const BreakpadInfo& info) {
// abcdef \r\n
// BOUNDARY \r\n
//
- // zero or more gpu entries:
- // Content-Disposition: form-data; name="gpu-xxxxx" \r\n \r\n
- // <gpu-xxxxx> \r\n
- // BOUNDARY \r\n
- //
// zero or one:
// Content-Disposition: form-data; name="lsb-release" \r\n \r\n
// abcdef \r\n
@@ -1297,38 +1292,6 @@ void HandleCrashDump(const BreakpadInfo& info) {
writer.Flush();
}
- // If GPU info is known, send it.
- if (*child_process_logging::g_gpu_vendor_id) {
-#if !defined(OS_ANDROID)
- static const char vendor_msg[] = "gpu-venid";
- static const char device_msg[] = "gpu-devid";
-#endif
- static const char gl_vendor_msg[] = "gpu-gl-vendor";
- static const char gl_renderer_msg[] = "gpu-gl-renderer";
- static const char driver_msg[] = "gpu-driver";
- static const char psver_msg[] = "gpu-psver";
- static const char vsver_msg[] = "gpu-vsver";
-
-#if !defined(OS_ANDROID)
- writer.AddPairString(vendor_msg, child_process_logging::g_gpu_vendor_id);
- writer.AddBoundary();
- writer.AddPairString(device_msg, child_process_logging::g_gpu_device_id);
- writer.AddBoundary();
-#endif
- writer.AddPairString(gl_vendor_msg, child_process_logging::g_gpu_gl_vendor);
- writer.AddBoundary();
- writer.AddPairString(gl_renderer_msg,
- child_process_logging::g_gpu_gl_renderer);
- writer.AddBoundary();
- writer.AddPairString(driver_msg, child_process_logging::g_gpu_driver_ver);
- writer.AddBoundary();
- writer.AddPairString(psver_msg, child_process_logging::g_gpu_ps_ver);
- writer.AddBoundary();
- writer.AddPairString(vsver_msg, child_process_logging::g_gpu_vs_ver);
- writer.AddBoundary();
- writer.Flush();
- }
-
if (info.distro_length) {
static const char distro_msg[] = "lsb-release";
writer.AddPairString(distro_msg, info.distro);
« no previous file with comments | « no previous file | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698