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

Unified Diff: components/update_client/update_response.h

Issue 2252093002: Add support for Omaha cohorts to the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't serialize the attrs when they are empty. 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
Index: components/update_client/update_response.h
diff --git a/components/update_client/update_response.h b/components/update_client/update_response.h
index 6c0ea9bd9351497a793aa5bc5d1cf7cfc464189e..104ca4f390fd381b9b6527692eed097a1aa73a1e 100644
--- a/components/update_client/update_response.h
+++ b/components/update_client/update_response.h
@@ -99,6 +99,13 @@ class UpdateResponse {
std::vector<GURL> crx_diffurls;
Manifest manifest;
+
+ bool set_cohort;
Sorin Jianu 2016/08/18 21:15:15 What is the meaning of the booleans?
Sorin Jianu 2016/08/18 21:15:15 are these initialized anywhere?
waffles 2016/08/18 22:29:23 Done.
waffles 2016/08/18 22:29:23 Done.
+ bool set_cohort_hint;
+ bool set_cohort_name;
+ std::string cohort;
+ std::string cohort_hint;
+ std::string cohort_name;
};
static const int kNoDaystart = -1;

Powered by Google App Engine
This is Rietveld 408576698