UpdateEngineClient leverage GetStatusAdvanced for EOL info
Instead of extension to the |GetEolStatus()| DBus method within update_engine, it is completely viable for addition of the EOL related fields into the |GetStatusAdvanced()| DBus method instead. Within Chrome, the |UpdateEngineClient| will still expose |GetEolStatus()| (will deprecate in the future crbug.com/1005511), but now has |GetEolInfo()| method which internally calls |GetStatsAdvanced()| instead of |GetEolStatus()| of update_engine to get EOL info. For eol_date field to be populated from CrOS please follow: chromium:1783897 Bug: 998983 Test: autoninja -C out_${SDK_BOARD}/Release chrome nacl_helper && deploy_chrome --build-dir=out_${SDK_BOARD}/Release --to=$IP Test: autoninja -C out/Default unit_tests && testing/xvfb.py ./out/Default/unit_tests Change-Id: I0d4d0e630336a374b3f4bdb546cfbab8ce7a89d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1811185Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Alexander Alekseev <alemate@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Commit-Queue: Jae Hoon Kim <kimjae@chromium.org> Cr-Commit-Position: refs/heads/master@{#701181}
Showing
Please register or sign in to comment