summaryrefslogtreecommitdiff
path: root/scripts/update_payload/test_utils.py
diff options
context:
space:
mode:
authorJae Hoon Kim <kimjae@chromium.org>2020-04-27 13:27:35 -0700
committerCommit Bot <commit-bot@chromium.org>2020-04-29 16:31:50 +0000
commitebea33916754d5522ce6489a910b990b119b7174 (patch)
tree1f05ccf621e301a8daced871b1aa14944f282014 /scripts/update_payload/test_utils.py
parentfab175a3db9ddd9898cbe89c24d2796a2985363b (diff)
update_engine: Utilize Optional for OmahaParserData
|OmahaParserData|'s cohort* fields utilize the |base::Optional<T>| class to indicate value assigned to the fields. This atomically hold the set value for cohort related fields. Also, the |HTTPReponseCode| when converted to sane value is logged so previous error code value can be tracked. BUG=chromium:928805 TEST=FEATURES=test emerge-$B update_engine update_engine-client # filter Change-Id: I5dbf59965538dc6c1eab052677a8d607423a34db Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2168611 Tested-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Queue: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/test_utils.py')
0 files changed, 0 insertions, 0 deletions