• Cliff Smolinsky's avatar
    Update interested callers to use GetConnectionCost() · e6ea6f49
    Cliff Smolinsky authored
    This change updates a couple interested callers,
    NearbyConnectionsManager and NetworkPredictionOptions, to use the new
    NetworkChangeNotifier::GetConnectionCost() functionality. While this
    change is functionally a no-op on non-Windows devices
    (NearbyConnectionsManager is ChromeOS only), it provides a good example
    for future callers to use the more appropriate method for the
    functionality. In addition, if and when the concept of metered networks
    becomes more flushed out for each platform these features will
    automatically pick up the correct functionality.
    
    Bug: 1143428
    Change-Id: I9fac5f0a738a6abe70b9a7985aff854e52248ff2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2638111Reviewed-by: default avatarFilip Gorski <fgorski@chromium.org>
    Reviewed-by: default avatarDavid Schinazi <dschinazi@chromium.org>
    Commit-Queue: Cliff Smolinsky <cliffsmo@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#845239}
    e6ea6f49
nearby_connections_manager_impl.cc 23.9 KB