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

Unified Diff: chrome/browser/component_updater/caps_installer_win.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
« no previous file with comments | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/caps_installer_win.cc
diff --git a/chrome/browser/component_updater/caps_installer_win.cc b/chrome/browser/component_updater/caps_installer_win.cc
index 78942ba175832a0b848f5ef1a0bfe8b311a69b89..cd4cd9bc6bdccb02033832024bcde6313b902683 100644
--- a/chrome/browser/component_updater/caps_installer_win.cc
+++ b/chrome/browser/component_updater/caps_installer_win.cc
@@ -7,6 +7,7 @@
#include <stdint.h>
#include <string>
#include <utility>
+#include <vector>
#include "base/bind.h"
#include "base/command_line.h"
@@ -78,6 +79,8 @@ class CAPSInstallerTraits : public ComponentInstallerTraits {
bool CanAutoUpdate() const override { return true; }
+ bool RequiresNetworkEncryption() const override { return false; }
+
bool OnCustomInstall(const base::DictionaryValue& manifest,
const base::FilePath& install_dir) override {
return true;
« no previous file with comments | « no previous file | chrome/browser/component_updater/chrome_component_updater_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698