• Yusuke Sato's avatar
    arc: Use platform-neutral types in arc_client_adapter.h · e145ded2
    Yusuke Sato authored
    Previously, the ARC start and upgrade functions in the adapter
    interface had two issues:
    
    * They used structs in arc.proto that were in the login_manager::
      namespace although the interface is both for ARC container and
      VM.
    * Parameters for upgrade were converted from the platform-neutral
      one (UpdateParams in arc_session.h) into the platform specific
      one (arc.proto) too early in arc_session_impl.cc.
    
    This CL fixes both issues by removing arc.proto usage from
    everywhere but arc_container_client_adapter.cc.
    
    BUG=b:142144019
    TEST=ran the unit tests + arc.Boot
    
    Change-Id: I6b14631af8a3f24f879a037df0b0c289845edf95
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1854465
    Commit-Queue: Yusuke Sato <yusukes@chromium.org>
    Auto-Submit: Yusuke Sato <yusukes@chromium.org>
    Reviewed-by: default avatarHidehiko Abe <hidehiko@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#707127}
    e145ded2
arc_session.cc 1014 Bytes