Index: chrome/browser/component_updater/swiftshader_component_installer.h |
diff --git a/chrome/browser/component_updater/swiftshader_component_installer.h b/chrome/browser/component_updater/swiftshader_component_installer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b7aa3f08c0b027a3110c631957834f1e001ef44a |
--- /dev/null |
+++ b/chrome/browser/component_updater/swiftshader_component_installer.h |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
+#define CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
+#pragma once |
+ |
+class ComponentUpdateService; |
+ |
+// Our job is to 1) find what version of SwiftShader is installed (if any) |
+// and 2) register with the gpu data manager and then register with the |
+// component updater if the current gpu is blacklisted. |
+void RegisterSwiftShaderComponent(ComponentUpdateService* cus); |
+ |
+ |
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |