• cmasone's avatar
    Switch SessionManagerClient::RestartJob to use RestartJobWithAuth · ec53492f
    cmasone authored
    The session manager is once again providing a RestartJobWithAuth
    method to allow callers to directly authorize their request to
    restart the browser by providing a unix domain socket ready to be
    SO_PEERCREDified in lieu of a pid.
    
    This has the advantage of working inside a PID namespace, while
    normal dbus mechanisms do not.
    
    BUG=448821
    TEST=integration tests TBD
    R=stevenjb@chromium.org
    
    Review URL: https://codereview.chromium.org/1111653002
    
    Cr-Commit-Position: refs/heads/master@{#327417}
    ec53492f
session_manager_client.cc 30.6 KB