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

Side by Side Diff: content/common/gpu_info.h

Issue 6682037: Fix to make the clang bots happy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | content/common/gpu_info.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_COMMON_GPU_INFO_H_ 5 #ifndef CONTENT_COMMON_GPU_INFO_H_
6 #define CONTENT_COMMON_GPU_INFO_H_ 6 #define CONTENT_COMMON_GPU_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 // Provides access to the GPU information for the system 9 // Provides access to the GPU information for the system
10 // on which chrome is currently running. 10 // on which chrome is currently running.
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "content/common/dx_diag_node.h" 17 #include "content/common/dx_diag_node.h"
18 18
19 struct GPUInfo { 19 struct GPUInfo {
20 GPUInfo(); 20 GPUInfo();
21 ~GPUInfo();
21 22
22 // Whether more GPUInfo fields might be collected in the future. 23 // Whether more GPUInfo fields might be collected in the future.
23 bool finalized; 24 bool finalized;
24 25
25 // The amount of time taken to get from the process starting to the message 26 // The amount of time taken to get from the process starting to the message
26 // loop being pumped. 27 // loop being pumped.
27 base::TimeDelta initialization_time; 28 base::TimeDelta initialization_time;
28 29
29 // The DWORD (uint32) representing the graphics card vendor id. 30 // The DWORD (uint32) representing the graphics card vendor id.
30 uint32 vendor_id; 31 uint32 vendor_id;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // semantics are available. 69 // semantics are available.
69 bool can_lose_context; 70 bool can_lose_context;
70 71
71 #if defined(OS_WIN) 72 #if defined(OS_WIN)
72 // The information returned by the DirectX Diagnostics Tool. 73 // The information returned by the DirectX Diagnostics Tool.
73 DxDiagNode dx_diagnostics; 74 DxDiagNode dx_diagnostics;
74 #endif 75 #endif
75 }; 76 };
76 77
77 #endif // CONTENT_COMMON_GPU_INFO_H_ 78 #endif // CONTENT_COMMON_GPU_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698