• rch's avatar
    Unify the QUIC dispatcher and make the QuicServer work. · c99f380c
    rch authored
    Initialize the QuicDispatcher with a PacketWriter instead of an int fd.
    QuicDispatcher::Initialize() used to take an fd which chromium does not make
    use of. Instead, it should simply take a PacketWriter* which the caller
    should be responsible for creating. Renamed Initialize() to
    InitializeWithWriter() to reflect this. Removed the CreateWriter() method
    from the QuicDispatcher and moved it to QuicServer.
    Merge internal change: 89495510
    
    Review URL: https://codereview.chromium.org/1031243002
    
    Cr-Commit-Position: refs/heads/master@{#322450}
    c99f380c
mock_quic_dispatcher.h 1.24 KB