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

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

Issue 2154773002: Implement Just-In-Time Flash updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First Review Pass 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: chrome/browser/component_updater/widevine_cdm_component_installer.cc
diff --git a/chrome/browser/component_updater/widevine_cdm_component_installer.cc b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
index eb7460923f49915be318c8933f3b2a3e72aaca51..7efb9d016f1c88dcf2feb1868cc07d1b4d62eb1d 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -261,6 +261,7 @@ class WidevineCdmComponentInstallerTraits : public ComponentInstallerTraits {
void GetHash(std::vector<uint8_t>* hash) const override;
std::string GetName() const override;
update_client::InstallerAttributes GetInstallerAttributes() const override;
+ void AddMimeTypes(std::vector<std::string>* mime_types) const override;
// Checks and updates CDM adapter if necessary to make sure the latest CDM
// adapter is always used.
@@ -340,6 +341,10 @@ WidevineCdmComponentInstallerTraits::GetInstallerAttributes() const {
return update_client::InstallerAttributes();
}
+void WidevineCdmComponentInstallerTraits::AddMimeTypes(
+ std::vector<std::string>* mime_types) const {
+}
+
static bool HasValidAdapter(const base::FilePath& adapter_version_path,
const base::FilePath& adapter_install_path,
const std::string& chrome_version) {

Powered by Google App Engine
This is Rietveld 408576698