• Ke He's avatar
    Map the HidPlatformDeviceId to HidDeviceId. · 80a58619
    Ke He authored
    Before mojofication on Hid, we have to add typemapping for HidDeviceId first.
    HidDeviceId is defined as uint64_t on MacOS while as string on other
    platforms.
    
    In this CL, we rename the original HidDeviceId to HidPlatformDeviceId, and
    define the new HidDeviceId type as uint64_t. we map the PlatformHidDeviceId
    to HidDeviceId. 
    
    All clients of HidService should hold the new HidDeviceId instead of the
    PlatformHidDeviceId.
    
    BUG=728223
    
    Change-Id: I3585c9eb0eacb02571258314c14e063adce653fc
    Reviewed-on: https://chromium-review.googlesource.com/570201Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
    Commit-Queue: Ke He <ke.he@intel.com>
    Cr-Commit-Position: refs/heads/master@{#488837}
    80a58619
hid_service_mac.h 1.75 KB