Refactor SharedMemory::Create and fix a rare file leak.
[chromium-blink-merge.git] / chrome / browser / component_updater / swiftshader_component_installer.h
blob945e157c72b3c11583e37a533b0317a537fa9c89
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_
8 namespace component_updater {
10 class ComponentUpdateService;
12 // 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
14 // component updater if the current gpu is blacklisted.
15 void RegisterSwiftShaderComponent(ComponentUpdateService* cus);
17 } // namespace component_updater
19 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SWIFTSHADER_COMPONENT_INSTALLER_H_