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

Unified Diff: components/update_client/action_update.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: components/update_client/action_update.cc
diff --git a/components/update_client/action_update.cc b/components/update_client/action_update.cc
index ea0ad6e1862721c8d2cb901d701b1fb69f869630..c8045a2fa58b13a570aa084c960f66093d105521 100644
--- a/components/update_client/action_update.cc
+++ b/components/update_client/action_update.cc
@@ -294,7 +294,7 @@ bool ActionUpdateFull::IsBackgroundDownload(const CrxUpdateItem* item) {
DCHECK(thread_checker_.CalledOnValidThread());
// On demand component updates are always downloaded in foreground.
- return !item->on_demand && item->component.allow_background_download &&
+ return !item->on_demand && item->component.allows_background_download &&
update_context_->config->UseBackgroundDownloader();
}
« no previous file with comments | « components/component_updater/default_component_installer.cc ('k') | components/update_client/action_update_check.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698