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

Issue 2023803003: arc: Send cryptohome ID on starting ARC instance. (Closed)

Created:
4 years, 6 months ago by Shuhei Takahashi
Modified:
4 years, 6 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, droger+watchlist_chromium.org, hashimoto+watch_chromium.org, blundell+watchlist_chromium.org, hidehiko+watch_chromium.org, sdefresne+watchlist_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Send cryptohome ID on starting ARC instance. We are soon moving android-data directory from the current fixed path (/home/chronos/user/android-data) to a path inside mounted cryptohome (/home/root/<CryptohomeID>/android-data). To prepare for that change, we start sending cryptohome ID in StartArcInstance() D-Bus method. Since we do not use |socket_path| parameter at all in session_manager today, we will reuse it to pass the cryptohome ID. BUG=b:26700652 TEST=trybot TEST=ARC boots Committed: https://crrev.com/73ba2139159c3225e9d0f28d6066fac07b4fe80a Cr-Commit-Position: refs/heads/master@{#398232}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix gn deps & add comments #

Patch Set 3 : Reuse |socket_path|. #

Total comments: 2

Patch Set 4 : s/GetActiveUser/GetPrimaryUser/g #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -15 lines) Patch
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M components/arc/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_bootstrap.cc View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 38 (12 generated)
Shuhei Takahashi
hashimoto: PTAL chromeos/ oshima: PTAL chrome/ lhchavez: PTAL all dspaid: FYI (let's chat offline tomorrow)
4 years, 6 months ago (2016-05-30 11:13:04 UTC) #2
hashimoto
https://codereview.chromium.org/2023803003/diff/1/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2023803003/diff/1/chromeos/dbus/session_manager_client.h#newcode217 chromeos/dbus/session_manager_client.h:217: // socket for communication with the instance. Upon completion, ...
4 years, 6 months ago (2016-05-30 11:20:17 UTC) #3
Shuhei Takahashi
https://codereview.chromium.org/2023803003/diff/1/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2023803003/diff/1/chromeos/dbus/session_manager_client.h#newcode217 chromeos/dbus/session_manager_client.h:217: // socket for communication with the instance. Upon completion, ...
4 years, 6 months ago (2016-05-30 11:47:51 UTC) #4
hashimoto
chromeos/dbus lgtm
4 years, 6 months ago (2016-05-30 11:49:54 UTC) #5
Luis Héctor Chávez
hmmm that was supposed to be the role of the |socket_path| parameter. Can't you use ...
4 years, 6 months ago (2016-05-31 15:35:23 UTC) #6
Shuhei Takahashi
On 2016/05/31 15:35:23, Luis Héctor Chávez wrote: > hmmm that was supposed to be the ...
4 years, 6 months ago (2016-05-31 16:54:51 UTC) #7
Luis Héctor Chávez
On 2016/05/31 16:54:51, Shuhei Takahashi wrote: > On 2016/05/31 15:35:23, Luis Héctor Chávez wrote: > ...
4 years, 6 months ago (2016-05-31 16:58:33 UTC) #8
Shuhei Takahashi
On 2016/05/31 16:58:33, Luis Héctor Chávez wrote: > On 2016/05/31 16:54:51, Shuhei Takahashi wrote: > ...
4 years, 6 months ago (2016-05-31 17:36:57 UTC) #9
Luis Héctor Chávez
On 2016/05/31 17:36:57, Shuhei Takahashi wrote: > On 2016/05/31 16:58:33, Luis Héctor Chávez wrote: > ...
4 years, 6 months ago (2016-05-31 17:55:55 UTC) #10
Shuhei Takahashi
On 2016/05/31 17:55:55, Luis Héctor Chávez wrote: > On 2016/05/31 17:36:57, Shuhei Takahashi wrote: > ...
4 years, 6 months ago (2016-05-31 18:04:09 UTC) #11
oshima
On 2016/05/31 18:04:09, Shuhei Takahashi wrote: > On 2016/05/31 17:55:55, Luis Héctor Chávez wrote: > ...
4 years, 6 months ago (2016-05-31 21:32:56 UTC) #12
Shuhei Takahashi
dzhioev: PTAL for DEPS to user_manager others: PTAL again As per discussion with Luis, I've ...
4 years, 6 months ago (2016-06-01 01:54:15 UTC) #14
oshima
lgtm with nit https://codereview.chromium.org/2023803003/diff/40001/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2023803003/diff/40001/chromeos/dbus/session_manager_client.h#newcode219 chromeos/dbus/session_manager_client.h:219: virtual void StartArcInstance(const cryptohome::Identification& cryptohome_id, Some ...
4 years, 6 months ago (2016-06-01 02:10:23 UTC) #16
hashimoto
chromeos/dbus lgtm
4 years, 6 months ago (2016-06-01 03:45:26 UTC) #17
Shuhei Takahashi
https://codereview.chromium.org/2023803003/diff/40001/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2023803003/diff/40001/chromeos/dbus/session_manager_client.h#newcode219 chromeos/dbus/session_manager_client.h:219: virtual void StartArcInstance(const cryptohome::Identification& cryptohome_id, On 2016/06/01 02:10:23, oshima ...
4 years, 6 months ago (2016-06-01 05:24:58 UTC) #18
Luis Héctor Chávez
lgtm much better :)
4 years, 6 months ago (2016-06-01 15:36:45 UTC) #19
Shuhei Takahashi
dzhioev: I'm now wondering if user_manager->GetActiveUser() really gives what we want. IIUC "active user" is ...
4 years, 6 months ago (2016-06-02 08:24:31 UTC) #20
Shuhei Takahashi
lhchavez: PTAL again for arc_bridge_bootstrap.cc dzhioev: PTAL On 2016/06/02 08:24:31, Shuhei Takahashi wrote: > dzhioev: ...
4 years, 6 months ago (2016-06-02 08:47:54 UTC) #21
Luis Héctor Chávez
slgtm
4 years, 6 months ago (2016-06-02 15:44:21 UTC) #22
Shuhei Takahashi
dzhioev: ping?
4 years, 6 months ago (2016-06-06 10:25:38 UTC) #23
Shuhei Takahashi
+alemate: PTAL for user_manager DEPS I tried to contact dzhioev but got no response.
4 years, 6 months ago (2016-06-07 02:55:02 UTC) #25
Alexander Alekseev
not lgtm. Need to discuss.
4 years, 6 months ago (2016-06-07 03:05:02 UTC) #26
Alexander Alekseev
lgtm. THank you for updating Cl description.
4 years, 6 months ago (2016-06-07 03:42:51 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023803003/60001
4 years, 6 months ago (2016-06-07 04:06:02 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-07 05:21:40 UTC) #35
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 05:23:22 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/73ba2139159c3225e9d0f28d6066fac07b4fe80a
Cr-Commit-Position: refs/heads/master@{#398232}

Powered by Google App Engine
This is Rietveld 408576698