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

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

Issue 2273443002: Declare the binary components support the group policy to enable/disable them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 8ca0e1f2cf0cea9e9ff876498865871449a72a7f..bfa7b5634a8c9d94c67e570a885d36426f9f4273 100644
--- a/chrome/browser/component_updater/swiftshader_component_installer.cc
+++ b/chrome/browser/component_updater/swiftshader_component_installer.cc
@@ -177,6 +177,7 @@ void FinishSwiftShaderUpdateRegistration(ComponentUpdateService* cus,
swiftshader.installer = new SwiftShaderComponentInstaller(version);
swiftshader.version = version;
swiftshader.pk_hash.assign(kSha2Hash, &kSha2Hash[sizeof(kSha2Hash)]);
+ swiftshader.supports_group_policy_enable_component_updates = true;
if (!cus->RegisterComponent(swiftshader)) {
NOTREACHED() << "SwiftShader component registration fail";
}

Powered by Google App Engine
This is Rietveld 408576698