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

Issue 2828213002: arc: Show migration success notification on the next sign-in after migration. (Closed)

Created:
3 years, 8 months ago by kinaba
Modified:
3 years, 8 months ago
Reviewers:
hidehiko, xiyuan
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, alemate+watch_chromium.org, oshima+watch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, achuith+watch_chromium.org, lhchavez+watch_chromium.org, victorhsieh+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Show migration success notification on the next sign-in after migration. Referring the tri-state preference, shows the notification when needed. The special case is when the profile was newly created on the device. In that case, the profile is on the compatible filesystem from the beginning, we skip showing the migration and mark the pref as if it has been shown. BUG=711095 TEST=Manually tried new/migrated/skipped-migration/guest/supervised accounts. Review-Url: https://codereview.chromium.org/2828213002 Cr-Commit-Position: refs/heads/master@{#466592} Committed: https://chromium.googlesource.com/chromium/src/+/c6d7406702779c75f188e7380dd71f211ed4e765

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase over the icon addition CL #

Total comments: 4

Patch Set 3 : Reflected hidehiko@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -4 lines) Patch
M chrome/browser/chromeos/arc/arc_migration_guide_notification.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_migration_guide_notification.cc View 1 2 5 chunks +46 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
kinaba
PTAL: hidehiko (on arc/), xiyuan (on UserSessionManager) The icon resource addition is reviewed separately at: ...
3 years, 8 months ago (2017-04-20 07:55:10 UTC) #5
xiyuan
lgtm
3 years, 8 months ago (2017-04-20 15:32:19 UTC) #8
kinaba
friendly ping: hidehiko@
3 years, 8 months ago (2017-04-24 00:49:32 UTC) #13
hidehiko
Sorry for delay. LGTM with minor comments. https://codereview.chromium.org/2828213002/diff/20001/chrome/browser/chromeos/arc/arc_migration_guide_notification.cc File chrome/browser/chromeos/arc/arc_migration_guide_notification.cc (right): https://codereview.chromium.org/2828213002/diff/20001/chrome/browser/chromeos/arc/arc_migration_guide_notification.cc#newcode79 chrome/browser/chromeos/arc/arc_migration_guide_notification.cc:79: const AccountId ...
3 years, 8 months ago (2017-04-24 05:59:48 UTC) #14
kinaba
thanks! https://codereview.chromium.org/2828213002/diff/20001/chrome/browser/chromeos/arc/arc_migration_guide_notification.cc File chrome/browser/chromeos/arc/arc_migration_guide_notification.cc (right): https://codereview.chromium.org/2828213002/diff/20001/chrome/browser/chromeos/arc/arc_migration_guide_notification.cc#newcode79 chrome/browser/chromeos/arc/arc_migration_guide_notification.cc:79: const AccountId account_id(multi_user_util::GetAccountIdFromProfile(profile)); On 2017/04/24 05:59:48, hidehiko wrote: ...
3 years, 8 months ago (2017-04-24 06:09:37 UTC) #16
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/2828213002/40001
3 years, 8 months ago (2017-04-24 06:34:58 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 06:38:00 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c6d7406702779c75f188e7380dd7...

Powered by Google App Engine
This is Rietveld 408576698