Index: chrome/browser/gpu/gpu_pref_manager.h |
diff --git a/chrome/browser/gpu/gl_string_manager.h b/chrome/browser/gpu/gpu_pref_manager.h |
similarity index 59% |
rename from chrome/browser/gpu/gl_string_manager.h |
rename to chrome/browser/gpu/gpu_pref_manager.h |
index 655cf173c009308447568676ab3f7a06e21f93f3..c7bce9786e7fbc85fee27851865e133242444ea6 100644 |
--- a/chrome/browser/gpu/gl_string_manager.h |
+++ b/chrome/browser/gpu/gpu_pref_manager.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_GPU_GL_STRING_MANAGER_H_ |
-#define CHROME_BROWSER_GPU_GL_STRING_MANAGER_H_ |
+#ifndef CHROME_BROWSER_GPU_GPU_PREF_MANAGER_H_ |
+#define CHROME_BROWSER_GPU_GPU_PREF_MANAGER_H_ |
#include <string> |
@@ -12,14 +12,14 @@ |
class PrefRegistrySimple; |
-class GLStringManager : public content::GpuDataManagerObserver { |
+class GpuPrefManager : public content::GpuDataManagerObserver { |
public: |
static void RegisterPrefs(PrefRegistrySimple* registry); |
- GLStringManager(); |
- virtual ~GLStringManager(); |
+ GpuPrefManager(); |
+ virtual ~GpuPrefManager(); |
- // Get cached GL strings in local state and send them to GpuDataManager. |
+ // Get cached strings in local state and send them to GpuDataManager. |
void Initialize(); |
// content::GpuDataManagerObserver |
@@ -29,9 +29,10 @@ class GLStringManager : public content::GpuDataManagerObserver { |
std::string gl_vendor_; |
std::string gl_renderer_; |
std::string gl_version_; |
+ bool use_warp_; |
- DISALLOW_COPY_AND_ASSIGN(GLStringManager); |
+ DISALLOW_COPY_AND_ASSIGN(GpuPrefManager); |
}; |
-#endif // CHROME_BROWSER_GPU_GL_STRING_MANAGER_H_ |
+#endif // CHROME_BROWSER_GPU_GPU_PREF_MANAGER_H_ |