• Bailey Berro's avatar
    Shorten delay before mounting SMB share · a223d957
    Bailey Berro authored
    Currently, we wait until the first batch of shares is returned from host
    discovery before attempting to Mount a share so that name resolution can
    be performed. This change switches to using the GatherSharesInNetwork method that
    takes a HostDiscoveryResponse callback so that the delay is shortened.
    
    Bug: chromium:757625
    Change-Id: I22cf5fd48bdcc633fa4d7f2f08b1e6f7e10af764
    Reviewed-on: https://chromium-review.googlesource.com/1211947
    Commit-Queue: Bailey Berro <baileyberro@chromium.org>
    Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#590069}
    a223d957
smb_handler.cc 3.51 KB