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

Side by Side Diff: content/browser/gpu/gpu_performance_stats.h

Issue 9999002: Revert 130299 - Revert 130298 - Revert 130258 - Make it possible to blacklist gpu's based on the Wi… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 8 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 | « content/browser/gpu/gpu_data_manager.cc ('k') | content/browser/gpu/gpu_performance_stats.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) 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 CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_
6 #define CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ 6 #define CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 class CONTENT_EXPORT GpuPerformanceStats { 11 class CONTENT_EXPORT GpuPerformanceStats {
12 public: 12 public:
13 GpuPerformanceStats() : graphics(0.f), gaming(0.f), overall(0.f) { 13 GpuPerformanceStats() : graphics(0.f), gaming(0.f), overall(0.f) {
14 } 14 }
15 15
16 static GpuPerformanceStats RetrieveGpuPerformanceStats(); 16 static GpuPerformanceStats RetrieveGpuPerformanceStats();
17 17
18 base::Value* ToValue() const; 18 base::Value* ToValue() const;
19 19
20 float graphics; 20 float graphics;
21 float gaming; 21 float gaming;
22 float overall; 22 float overall;
23 }; 23 };
24 24
25 25
26 #endif // CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ 26 #endif // CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager.cc ('k') | content/browser/gpu/gpu_performance_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698