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

Unified Diff: components/update_client/update_engine.h

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 | « components/update_client/update_client_unittest.cc ('k') | components/update_client/update_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_engine.h
diff --git a/components/update_client/update_engine.h b/components/update_client/update_engine.h
index a82864cb0096e3ba121b6b9cf3739c3e471d3637..3ebcc11d071ff0c924fb301ea8a21490a119028c 100644
--- a/components/update_client/update_engine.h
+++ b/components/update_client/update_engine.h
@@ -114,6 +114,9 @@ struct UpdateContext {
// True if this update has been initiated by the user.
bool is_foreground;
+ // True if the component updates are enabled in this context.
+ const bool enabled_component_updates;
+
// Contains the ids of all CRXs in this context.
const std::vector<std::string> ids;
« no previous file with comments | « components/update_client/update_client_unittest.cc ('k') | components/update_client/update_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698