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

Side by Side Diff: chrome/gpu/gpu_info_collector.h

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 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 unified diff | Download patch
« no previous file with comments | « chrome/default_plugin/plugin_main.h ('k') | chrome/installer/util/create_dir_work_item.h » ('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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 CHROME_GPU_GPU_INFO_COLLECTOR_H__ 5 #ifndef CHROME_GPU_GPU_INFO_COLLECTOR_H__
6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__ 6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__
7 #pragma once 7 #pragma once
8 8
9
10 #include <string>
11
12 #include "base/basictypes.h" 9 #include "base/basictypes.h"
13 #include "chrome/common/gpu_info.h" 10 #include "chrome/common/gpu_info.h"
14 11
15 struct IDirect3D9; 12 struct IDirect3D9;
16 13
17 namespace gpu_info_collector { 14 namespace gpu_info_collector {
18 15
19 // Populate variables with necessary graphics card information. 16 // Populate variables with necessary graphics card information.
20 // Returns true on success. 17 // Returns true on success.
21 bool CollectGraphicsInfo(GPUInfo& gpu_info); 18 bool CollectGraphicsInfo(GPUInfo& gpu_info);
22 19
23 #if defined(OS_WIN) 20 #if defined(OS_WIN)
24 // Windows provides two ways of doing graphics so we need two ways of 21 // Windows provides two ways of doing graphics so we need two ways of
25 // collecting info based on what's on a user's machine. 22 // collecting info based on what's on a user's machine.
26 // The selection between the two methods is done in the cc file. 23 // The selection between the two methods is done in the cc file.
27 24
28 // A D3D argument is passed in for testing purposes 25 // A D3D argument is passed in for testing purposes
29 bool CollectGraphicsInfoD3D(IDirect3D9* d3d, GPUInfo& gpu_info); 26 bool CollectGraphicsInfoD3D(IDirect3D9* d3d, GPUInfo& gpu_info);
30 27
31 // The GL version of collecting information 28 // The GL version of collecting information
32 bool CollectGraphicsInfoGL(GPUInfo& gpu_info); 29 bool CollectGraphicsInfoGL(GPUInfo& gpu_info);
33 #endif 30 #endif
34 31
35 } // namespace gpu_info_collector 32 } // namespace gpu_info_collector
36 33
37 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__ 34 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_main.h ('k') | chrome/installer/util/create_dir_work_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698