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

Side by Side Diff: gpu/config/gpu_info.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef GPU_CONFIG_GPU_INFO_H_ 5 #ifndef GPU_CONFIG_GPU_INFO_H_
6 #define GPU_CONFIG_GPU_INFO_H_ 6 #define GPU_CONFIG_GPU_INFO_H_
7 7
8 // Provides access to the GPU information for the system 8 // Provides access to the GPU information for the system
9 // on which chrome is currently running. 9 // on which chrome is currently running.
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 bool software_rendering; 147 bool software_rendering;
148 148
149 // Whether the driver uses direct rendering. True on most platforms, false on 149 // Whether the driver uses direct rendering. True on most platforms, false on
150 // X11 when using remote X. 150 // X11 when using remote X.
151 bool direct_rendering; 151 bool direct_rendering;
152 152
153 // Whether the gpu process is running in a sandbox. 153 // Whether the gpu process is running in a sandbox.
154 bool sandboxed; 154 bool sandboxed;
155 155
156 // Number of GPU process crashes recorded.
157 int process_crash_count;
158
156 #if defined(OS_WIN) 159 #if defined(OS_WIN)
157 // The information returned by the DirectX Diagnostics Tool. 160 // The information returned by the DirectX Diagnostics Tool.
158 DxDiagNode dx_diagnostics; 161 DxDiagNode dx_diagnostics;
159 #endif 162 #endif
160 // Note: when adding new members, please remember to update EnumerateFields 163 // Note: when adding new members, please remember to update EnumerateFields
161 // in gpu_info.cc. 164 // in gpu_info.cc.
162 165
163 // In conjunction with EnumerateFields, this allows the embedder to 166 // In conjunction with EnumerateFields, this allows the embedder to
164 // enumerate the values in this structure without having to embed 167 // enumerate the values in this structure without having to embed
165 // references to its specific member variables. This simplifies the 168 // references to its specific member variables. This simplifies the
(...skipping 24 matching lines...) Expand all
190 virtual ~Enumerator() {} 193 virtual ~Enumerator() {}
191 }; 194 };
192 195
193 // Outputs the fields in this structure to the provided enumerator. 196 // Outputs the fields in this structure to the provided enumerator.
194 void EnumerateFields(Enumerator* enumerator) const; 197 void EnumerateFields(Enumerator* enumerator) const;
195 }; 198 };
196 199
197 } // namespace gpu 200 } // namespace gpu
198 201
199 #endif // GPU_CONFIG_GPU_INFO_H_ 202 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698