Remove NotificationService usage from ChromeAshMessageCenterClient
Registration for NOTIFICATION_PROFILE_ADDED is replaced with User::AddProfileCreatedObserver. Note that before this patch, the NotificationRegistrar was never actually used because it was broken by d5f8becb. Thus, this patch also fixes the (relatively minor) bug that while a profile was loading, GetNotifiers would no-op, rather than perform a delayed op. Bug: 268984 Change-Id: I3c68b5bb9610e486088e3e0c5cb23255453dab3e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1857538Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#705713}
Showing
Please register or sign in to comment