Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Issue 1111653002: Switch SessionManagerClient::RestartJob to use RestartJobWithAuth (Closed)

Created:
5 years, 8 months ago by Chris Masone
Modified:
5 years, 7 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, hashimoto+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch SessionManagerClient::RestartJob to use RestartJobWithAuth 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 Committed: https://crrev.com/ec53492f57498b60bbffe2aba1c80df39589925f Cr-Commit-Position: refs/heads/master@{#327417}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comments, make passing of FD ownership more clear #

Total comments: 2

Patch Set 3 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -11 lines) Patch
M chromeos/dbus/session_manager_client.cc View 1 2 4 chunks +69 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Chris Masone
Haven't done my integration tests yet, and this relies on https://chromium-review.googlesource.com/#/c/267634/ going in first. But, ...
5 years, 8 months ago (2015-04-28 00:55:38 UTC) #1
stevenjb
lgtm, I think :) https://codereview.chromium.org/1111653002/diff/1/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/1111653002/diff/1/chromeos/dbus/session_manager_client.cc#newcode133 chromeos/dbus/session_manager_client.cc:133: false); This is all pretty ...
5 years, 8 months ago (2015-04-28 01:25:26 UTC) #2
Chris Masone
look better?
5 years, 7 months ago (2015-04-28 15:00:20 UTC) #3
Chris Masone
On 2015/04/28 15:00:20, Chris Masone wrote: > look better? The CrOS-side CL has landed, so ...
5 years, 7 months ago (2015-04-28 22:21:11 UTC) #4
stevenjb
Much easier to follow now, thanks. lgtm w/ comment fix. https://codereview.chromium.org/1111653002/diff/20001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/1111653002/diff/20001/chromeos/dbus/session_manager_client.cc#newcode428 ...
5 years, 7 months ago (2015-04-28 22:29:48 UTC) #5
Chris Masone
https://codereview.chromium.org/1111653002/diff/20001/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/1111653002/diff/20001/chromeos/dbus/session_manager_client.cc#newcode428 chromeos/dbus/session_manager_client.cc:428: // called on completion of this method call. This ...
5 years, 7 months ago (2015-04-28 23:43:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1111653002/40001
5 years, 7 months ago (2015-04-28 23:44:34 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-29 02:08:07 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 02:09:01 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec53492f57498b60bbffe2aba1c80df39589925f
Cr-Commit-Position: refs/heads/master@{#327417}

Powered by Google App Engine
This is Rietveld 408576698