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

Unified Diff: components/update_client/component.h

Issue 2847023002: Parse update check run actions for the component updater. (Closed)
Patch Set: Added missing data file dependency. Created 3 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 | « components/update_client/BUILD.gn ('k') | components/update_client/component.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/component.h
diff --git a/components/update_client/component.h b/components/update_client/component.h
index c5709c0ae77542dddbf194e37298dd4b7d8e6fec..758550d10a83271345dbf6d6184e84ce5e0c0de9 100644
--- a/components/update_client/component.h
+++ b/components/update_client/component.h
@@ -134,6 +134,7 @@ class Component {
FRIEND_TEST_ALL_PREFIXES(PingManagerTest, SendPing);
FRIEND_TEST_ALL_PREFIXES(PingManagerTest, RequiresEncryption);
+ FRIEND_TEST_ALL_PREFIXES(UpdateCheckerTest, NoUpdateActionRun);
FRIEND_TEST_ALL_PREFIXES(UpdateCheckerTest, UpdateCheckCupError);
FRIEND_TEST_ALL_PREFIXES(UpdateCheckerTest, UpdateCheckError);
FRIEND_TEST_ALL_PREFIXES(UpdateCheckerTest, UpdateCheckInvalidAp);
@@ -395,6 +396,9 @@ class Component {
std::string previous_fp_;
std::string next_fp_;
+ // Contains the file name of the payload to run.
+ std::string action_run_;
+
// True if the update check response for this component includes an update.
bool is_update_available_ = false;
« no previous file with comments | « components/update_client/BUILD.gn ('k') | components/update_client/component.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698