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

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: 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: 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..81f20f89cd3dba5f7a09655842ac8705cbea6d5f 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdint.h>
#include <string.h>
+#include <memory>
#include <string>
#include <utility>
#include <vector>
@@ -261,6 +262,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;
+ std::vector<std::string> GetMimeTypes() const override;
// Checks and updates CDM adapter if necessary to make sure the latest CDM
// adapter is always used.
@@ -340,6 +342,11 @@ WidevineCdmComponentInstallerTraits::GetInstallerAttributes() const {
return update_client::InstallerAttributes();
}
+std::vector<std::string> WidevineCdmComponentInstallerTraits::GetMimeTypes()
+ const {
+ return std::vector<std::string>();
+}
+
static bool HasValidAdapter(const base::FilePath& adapter_version_path,
const base::FilePath& adapter_install_path,
const std::string& chrome_version) {
« no previous file with comments | « chrome/browser/component_updater/sw_reporter_installer_win.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698