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

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

Issue 1740333002: Allow fallback from https to http for component update checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 8f74a949b0fdc85ceb9c1a9dd78864c9b2e2f250..f7b135e9a52636e29f07e98f423cf8b0bed6209c 100644
--- a/chrome/browser/component_updater/widevine_cdm_component_installer.cc
+++ b/chrome/browser/component_updater/widevine_cdm_component_installer.cc
@@ -236,6 +236,7 @@ class WidevineCdmComponentInstallerTraits : public ComponentInstallerTraits {
private:
// The following methods override ComponentInstallerTraits.
bool CanAutoUpdate() const override;
+ bool RequiresNetworkEncryption() const override;
bool OnCustomInstall(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) override;
bool VerifyInstallation(
@@ -268,6 +269,10 @@ bool WidevineCdmComponentInstallerTraits::CanAutoUpdate() const {
return true;
}
+bool WidevineCdmComponentInstallerTraits::RequiresNetworkEncryption() const {
+ return false;
+}
+
bool WidevineCdmComponentInstallerTraits::OnCustomInstall(
const base::DictionaryValue& manifest,
const base::FilePath& install_dir) {

Powered by Google App Engine
This is Rietveld 408576698