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

Issue 2693013006: arc: Add cryptohome_id to EmitArcBooted. (Closed)

Created:
3 years, 10 months ago by xzhou
Modified:
3 years, 10 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hashimoto+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, Jorge Lucangeli Obes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Add cryptohome_id to EmitArcBooted. When ARC++ starts, dalvik cache is moved to $ANDROID_OLD_DATA_DIR. When ARC++ is started, the data in $ANDROID_OLD_DATA_DIR should be removed. This CL notifies session_manager that ARC++ has started and passes the cryptohome_id so session_manager can delete $ANDROID_OLD_DATA_DIR. BUG=b/35049414 Review-Url: https://codereview.chromium.org/2693013006 Cr-Commit-Position: refs/heads/master@{#451468} Committed: https://chromium.googlesource.com/chromium/src/+/e41cdb5e0d670d9b30f4da1e734b01c0c91ad4af

Patch Set 1 #

Total comments: 34

Patch Set 2 : arc: Add cryptohome_id to EmitArcBooted. #

Total comments: 10

Patch Set 3 : Address Yusuke's comments. #

Total comments: 2

Patch Set 4 : Address Luis's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -16 lines) Patch
M chrome/browser/chromeos/arc/arc_service_launcher.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h View 1 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc View 1 2 3 2 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/dbus/session_manager_client.cc View 1 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 59 (37 generated)
Yusuke Sato
drive-by https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h (right): https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h#newcode31 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h:31: explicit ArcBootPhaseMonitorBridge(ArcBridgeService* bridge_service, remove explicit https://codereview.chromium.org/2693013006/diff/1/chromeos/dbus/fake_session_manager_client.h File chromeos/dbus/fake_session_manager_client.h ...
3 years, 10 months ago (2017-02-15 18:31:37 UTC) #6
hidehiko
Drive-by. https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc (right): https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc#newcode64 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc:64: LOG_IF(ERROR, !success) << "Failed to emit arc booted ...
3 years, 10 months ago (2017-02-15 18:48:09 UTC) #8
Luis Héctor Chávez
arrived late to the drive-by party. https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/arc_service_launcher.cc File chrome/browser/chromeos/arc/arc_service_launcher.cc (right): https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/arc_service_launcher.cc#newcode149 chrome/browser/chromeos/arc/arc_service_launcher.cc:149: arc_service_manager_->AddService(base::MakeUnique<ArcBootPhaseMonitorBridge>( nit: add ...
3 years, 10 months ago (2017-02-15 19:02:11 UTC) #10
Luis Héctor Chávez
Argh, missed a few IWYU things. Please add the "arc: " prefix to the subject ...
3 years, 10 months ago (2017-02-15 19:32:32 UTC) #11
xzhou
On 2017/02/15 19:32:32, Luis Héctor Chávez wrote: > Argh, missed a few IWYU things. > ...
3 years, 10 months ago (2017-02-16 18:29:56 UTC) #16
xzhou
Addressed all comments on patch set 2. https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/arc_service_launcher.cc File chrome/browser/chromeos/arc/arc_service_launcher.cc (right): https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/arc_service_launcher.cc#newcode149 chrome/browser/chromeos/arc/arc_service_launcher.cc:149: arc_service_manager_->AddService(base::MakeUnique<ArcBootPhaseMonitorBridge>( On ...
3 years, 10 months ago (2017-02-16 18:34:51 UTC) #17
Yusuke Sato
https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h (right): https://codereview.chromium.org/2693013006/diff/1/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h#newcode13 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h:13: #include "chrome/browser/profiles/profile.h" On 2017/02/16 18:34:50, xzhou wrote: > On ...
3 years, 10 months ago (2017-02-16 18:42:58 UTC) #18
xzhou
Address Yusuke's comments and test without https://chrome-internal-review.googlesource.com/c/327703/ and https://chromium-review.googlesource.com/c/442049/ https://codereview.chromium.org/2693013006/diff/1/chromeos/dbus/fake_session_manager_client.cc File chromeos/dbus/fake_session_manager_client.cc (right): https://codereview.chromium.org/2693013006/diff/1/chromeos/dbus/fake_session_manager_client.cc#newcode195 chromeos/dbus/fake_session_manager_client.cc:195: ...
3 years, 10 months ago (2017-02-16 20:17:32 UTC) #22
Luis Héctor Chávez
https://codereview.chromium.org/2693013006/diff/40001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc (right): https://codereview.chromium.org/2693013006/diff/40001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc#newcode65 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc:65: } // namespace arc nit: keep the newline above ...
3 years, 10 months ago (2017-02-16 20:23:46 UTC) #24
Yusuke Sato
c/b/c/arc/ lgtm
3 years, 10 months ago (2017-02-16 21:40:09 UTC) #27
xzhou
Address Luis's comments. https://codereview.chromium.org/2693013006/diff/40001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc File chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc (right): https://codereview.chromium.org/2693013006/diff/40001/chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc#newcode65 chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.cc:65: } // namespace arc On 2017/02/16 ...
3 years, 10 months ago (2017-02-16 21:48:26 UTC) #29
xzhou
Address Luis's comments.
3 years, 10 months ago (2017-02-16 21:48:28 UTC) #30
Daniel Erat
lgtm for c/b/chromeos and chromeos/dbus
3 years, 10 months ago (2017-02-17 21:59:21 UTC) #39
xzhou_chrome
lgtm
3 years, 10 months ago (2017-02-17 22:06:54 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693013006/60001
3 years, 10 months ago (2017-02-17 22:08:07 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-18 00:11:42 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693013006/60001
3 years, 10 months ago (2017-02-18 00:43:41 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-18 00:44:44 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693013006/60001
3 years, 10 months ago (2017-02-18 00:51:28 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-18 01:19:40 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2693013006/60001
3 years, 10 months ago (2017-02-18 16:24:44 UTC) #56
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 17:05:08 UTC) #59
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e41cdb5e0d670d9b30f4da1e734b...

Powered by Google App Engine
This is Rietveld 408576698