• Antonio Gomes's avatar
    Migrate PeerConnectionTracker and PeerConnectionTrackerHost to Mojo · bc917af8
    Antonio Gomes authored
    This is a preliminary step to Onion souping content::PeerConnectionTracker.
    
    The CL migrates both content::PeerConnectionTracker (renderer) and
    content::PeerConnectionTrackerHost (browser) classes away from old
    IPC mechanism, to use Mojo.
    
    Additionally, the CL removes from:
    
    - PeerConnectionTracker
      * the inheritance from content::RenderThreadObserver, as well as the respective
      overridden methods, namely OnControlMessageReceived().
    
    - PeerConnectionTrackerHost
      * the inheritance from content::BrowserMessageFilter and
        content::BrowserAssociatedInterface, as well as the respective overridden,
        namely OnMessageReceived(), OverrideThreadForMessage(), OnChannelConnected(),
        OnChannelClosing().
    
    It is important to note that PeerConnectionTrackerHost now operates solely
    on the UI thread, so the CL removes some threading jumps between UI and IO
    threads.
    
    Last, content/common/media/peer_connection_tracker_messages.h (which declares
    the macro-based IPC messages) is now gone.
    
    BUG=787254
    TBR=jam@chromium.org
    
    Change-Id: I3ce5af1853384146d893da2a34c333aad80f5255
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1831197
    Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
    Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
    Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
    Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#707672}
    bc917af8
content_renderer_manifest.cc 4.16 KB