Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3083)

Unified Diff: chrome/browser/component_updater/swiftshader_component_installer.cc

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/swiftshader_component_installer.cc
diff --git a/chrome/browser/component_updater/swiftshader_component_installer.cc b/chrome/browser/component_updater/swiftshader_component_installer.cc
index e92fd0f18be9c18d717af8837224eb9378a41e0f..bea146a5a94c9671c38d004b098e412c28718d0c 100644
--- a/chrome/browser/component_updater/swiftshader_component_installer.cc
+++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
@@ -20,6 +20,7 @@
#include "base/values.h"
#include "components/component_updater/component_updater_paths.h"
#include "components/component_updater/component_updater_service.h"
+#include "components/update_client/update_client.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/gpu_data_manager.h"
#include "content/public/browser/gpu_data_manager_observer.h"
@@ -95,7 +96,7 @@ void RegisterSwiftShaderWithChrome(const base::FilePath& path) {
GpuDataManager::GetInstance()->RegisterSwiftShaderPath(path);
}
-class SwiftShaderComponentInstaller : public ComponentInstaller {
+class SwiftShaderComponentInstaller : public update_client::ComponentInstaller {
public:
explicit SwiftShaderComponentInstaller(const Version& version);
@@ -165,7 +166,7 @@ void FinishSwiftShaderUpdateRegistration(ComponentUpdateService* cus,
const Version& version) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- CrxComponent swiftshader;
+ update_client::CrxComponent swiftshader;
swiftshader.name = "Swift Shader";
swiftshader.installer = new SwiftShaderComponentInstaller(version);
swiftshader.version = version;

Powered by Google App Engine
This is Rietveld 408576698