Chromium Code Reviews| 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..370ce9806c7756a8c941395b39d5b9a8029bd5af 100644 |
| --- a/components/update_client/update_response.h |
| +++ b/components/update_client/update_response.h |
| @@ -5,6 +5,8 @@ |
| #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_RESPONSE_H_ |
| #define COMPONENTS_UPDATE_CLIENT_UPDATE_RESPONSE_H_ |
| +#include <map> |
| +#include <memory> |
| #include <string> |
| #include <vector> |
| @@ -99,6 +101,15 @@ class UpdateResponse { |
| std::vector<GURL> crx_diffurls; |
| Manifest manifest; |
| + |
| + // The server has instructed the client to set its [key] to [value] for each |
| + // key-value pair in this string. |
| + std::map<std::string, std::string> cohort_attrs; |
| + |
| + // The following are the only allowed keys in |cohort_attrs|. |
| + static const char* kCohort; |
|
Sorin Jianu
2016/08/23 00:20:03
can we use static const char kCohort[] ?
waffles
2016/08/23 00:36:18
Done.
|
| + static const char* kCohortHint; |
| + static const char* kCohortName; |
| }; |
| static const int kNoDaystart = -1; |