summaryrefslogtreecommitdiff
path: root/scripts/update_payload/error.py
diff options
context:
space:
mode:
authorJae Hoon Kim <kimjae@chromium.org>2019-06-06 14:59:03 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-06-19 02:18:51 -0700
commitb7ee3875756ec586ac45e75f0fad80f6c8e3680a (patch)
tree1e0ff96a1688291bc3ba192bf9268b7ed2d93bb9 /scripts/update_payload/error.py
parent21ac9965fbd4a3dc5401f9b529224b9728fac469 (diff)
update_engine: Accumulate functions into OmahaRequestBuilderXml class.
Convert functions within relation to GetRequestXml into OmahaRequestBuilderXml class. The refactoring allows for a complete encapsulation of required parameters to build the omaha request in xml format. The vision for OmahaRequestBuilder is an interface that opens up the possibility to create classes for building various formats of omaha requests (i.e. OmahaRequestBuilderJson). BUG=chromium:940505 TEST=cros_workon_make --board=octopus update_engine --test TEST=/usr/bin/update_engine_client --check_for_update # after bouncing update-engine + check /var/log/update_engine.log. Change-Id: I0b4501288fbf7127fc39513ef61b4ab4f8ceebd5 Reviewed-on: https://chromium-review.googlesource.com/1648075 Tested-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Ready: Jae Hoon Kim <kimjae@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/error.py')
0 files changed, 0 insertions, 0 deletions