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

Unified Diff: components/update_client/action.cc

Issue 2237153002: Use consistent values for enabled_component_updates throughout an update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix UT. Created 4 years, 4 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 | components/update_client/action_update_check.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/action.cc
diff --git a/components/update_client/action.cc b/components/update_client/action.cc
index cb9d738b3ef06c117d30f8fab1b151d9970e7e96..c979e2a102ec7cc27ee03f39b839d7eddc451762 100644
--- a/components/update_client/action.cc
+++ b/components/update_client/action.cc
@@ -128,7 +128,7 @@ void ActionImpl::UpdateCrx() {
item->update_begin = base::TimeTicks::Now();
if (item->component.supports_group_policy_enable_component_updates &&
- !update_context_->config->EnabledComponentUpdates()) {
+ !update_context_->enabled_component_updates) {
item->error_category =
static_cast<int>(Action::ErrorCategory::kServiceError);
item->error_code =
« no previous file with comments | « no previous file | components/update_client/action_update_check.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698