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

Unified Diff: components/component_updater/default_component_installer.cc

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull && gclient sync Created 4 years, 5 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: components/component_updater/default_component_installer.cc
diff --git a/components/component_updater/default_component_installer.cc b/components/component_updater/default_component_installer.cc
index 92023e8282d99484a0e47cade09c3114056a1c78..4853b082ac14874b291a0a6116b2deb3003e23f7 100644
--- a/components/component_updater/default_component_installer.cc
+++ b/components/component_updater/default_component_installer.cc
@@ -335,6 +335,7 @@ void DefaultComponentInstaller::FinishRegistration(
crx.installer_attributes = installer_traits_->GetInstallerAttributes();
crx.requires_network_encryption =
installer_traits_->RequiresNetworkEncryption();
+ crx.handled_mime_types = installer_traits_->GetMimeTypes();
if (!cus->RegisterComponent(crx)) {
LOG(ERROR) << "Component registration failed for "
<< installer_traits_->GetName();

Powered by Google App Engine
This is Rietveld 408576698