| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ | |
| 6 #define CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ | |
| 7 | |
| 8 #include "base/values.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 | |
| 11 class CONTENT_EXPORT GpuPerformanceStats { | |
| 12 public: | |
| 13 GpuPerformanceStats() : graphics(0.f), gaming(0.f), overall(0.f) { | |
| 14 } | |
| 15 | |
| 16 static GpuPerformanceStats RetrieveGpuPerformanceStats(); | |
| 17 | |
| 18 base::Value* ToValue() const; | |
| 19 | |
| 20 float graphics; | |
| 21 float gaming; | |
| 22 float overall; | |
| 23 }; | |
| 24 | |
| 25 | |
| 26 #endif // CONTENT_BROWSER_GPU_GPU_PERFORMANCE_STATS_H_ | |
| OLD | NEW |