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

Unified Diff: gpu/config/gpu_info.cc

Issue 418733002: Prevent duplicate navigation to debug URLs from Telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing file gpu_process_crash.html Created 6 years, 5 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
« content/test/gpu/gpu_tests/context_lost.py ('K') | « gpu/config/gpu_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info.cc
diff --git a/gpu/config/gpu_info.cc b/gpu/config/gpu_info.cc
index 2c7e67b5eae6e8f1f5d5d7869635f0064937ea36..fd3d8a3fe573f7b5198bab5ddd884d1581c5d5a1 100644
--- a/gpu/config/gpu_info.cc
+++ b/gpu/config/gpu_info.cc
@@ -39,7 +39,8 @@ GPUInfo::GPUInfo()
can_lose_context(false),
software_rendering(false),
direct_rendering(true),
- sandboxed(false) {
+ sandboxed(false),
+ process_crash_count(0) {
}
GPUInfo::~GPUInfo() { }
@@ -75,6 +76,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
bool software_rendering;
bool direct_rendering;
bool sandboxed;
+ int process_crash_count;
#if defined(OS_WIN)
DxDiagNode dx_diagnostics;
#endif
@@ -127,6 +129,7 @@ void GPUInfo::EnumerateFields(Enumerator* enumerator) const {
enumerator->AddBool("softwareRendering", software_rendering);
enumerator->AddBool("directRendering", direct_rendering);
enumerator->AddBool("sandboxed", sandboxed);
+ enumerator->AddInt("processCrashCount", process_crash_count);
// TODO(kbr): add dx_diagnostics on Windows.
enumerator->EndAuxAttributes();
}
« content/test/gpu/gpu_tests/context_lost.py ('K') | « gpu/config/gpu_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698