OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
7 | 7 |
| 8 namespace component_updater { |
| 9 |
8 class ComponentUpdateService; | 10 class ComponentUpdateService; |
9 | 11 |
10 // Our job is to 1) find what version of SwiftShader is installed (if any) | 12 // Our job is to 1) find what version of SwiftShader is installed (if any) |
11 // and 2) register with the gpu data manager and then register with the | 13 // and 2) register with the gpu data manager and then register with the |
12 // component updater if the current gpu is blacklisted. | 14 // component updater if the current gpu is blacklisted. |
13 void RegisterSwiftShaderComponent(ComponentUpdateService* cus); | 15 void RegisterSwiftShaderComponent(ComponentUpdateService* cus); |
14 | 16 |
| 17 } // namespace component_updater |
15 | 18 |
16 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ | 19 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
OLD | NEW |