| 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 base { |
| 9 class FilePath; |
| 10 } |
| 11 |
| 8 namespace component_updater { | 12 namespace component_updater { |
| 9 | 13 |
| 10 class ComponentUpdateService; | 14 class ComponentUpdateService; |
| 11 | 15 |
| 12 // Our job is to 1) find what version of SwiftShader is installed (if any) | 16 // Our job is to 1) find what version of SwiftShader is installed (if any) |
| 13 // and 2) register with the gpu data manager and then register with the | 17 // and 2) register with the gpu data manager and then register with the |
| 14 // component updater if the current gpu is blacklisted. | 18 // component updater if the current gpu is blacklisted. |
| 15 void RegisterSwiftShaderComponent(ComponentUpdateService* cus); | 19 void RegisterSwiftShaderComponent(ComponentUpdateService* cus, |
| 20 const base::FilePath& user_data_dir); |
| 16 | 21 |
| 17 } // namespace component_updater | 22 } // namespace component_updater |
| 18 | 23 |
| 19 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ | 24 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_ |
| OLD | NEW |