• Jae Hoon Kim's avatar
    UpdateEngineClient leverage GetStatusAdvanced for EOL info · 175d8c40
    Jae Hoon Kim authored
    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: default avatarSteven Bennetts <stevenjb@chromium.org>
    Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
    Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Commit-Queue: Jae Hoon Kim <kimjae@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#701181}
    175d8c40
fake_update_engine_client.h 4.47 KB