• andrewhayden's avatar
    Restore non-static CLD data functionality. · 527353a3
    andrewhayden authored
    When the translate client was refactored to be managed by the translate driver
    and to use a RenderFrameHost instead of a RenderViewHost, it accidentally broke
    non-static CLD initialization because the IPC messages being received by the
    translate driver were not being passed into the CLD data provider. This change
    moves the relevant code from the translate client into the translate driver and
    restores functionality.
    
    BUG=571016
    TBR=droger@chromium.org
    
    Review URL: https://codereview.chromium.org/1543533002
    
    Cr-Commit-Position: refs/heads/master@{#369396}
    527353a3
content_translate_driver.cc 10 KB