• Elad Alon's avatar
    Initiate WebRTC event logs uploads on appropriate networks only · 87953c6f
    Elad Alon authored
    Avoid initiating the upload of WebRTC event logs when either:
    * Not connected to any network.
    * Connected to any network other than WiFi or Ethernet.
    
    Note that this is not bullet-proof, since a machine may be
    connected to multiple networks at the same time, but
    NetworkConnectionTracker only reports one of those.
    Also, if connected to a mobile hotspot, this wi will appear
    to us as WiFi.
    
    Bug: 775415
    Change-Id: I44ed2560903751c27c1b1fe98a66ea89bd463a3e
    Reviewed-on: https://chromium-review.googlesource.com/1122123Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
    Commit-Queue: Elad Alon <eladalon@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#571924}
    87953c6f
webrtc_event_log_manager.cc 27.3 KB