Use Profile* instead of std::string in NotificationPlatformBridge
The individual bridges can always convert from Profile* to profile id easily, but the reverse is not true. This is an issue when the profile manager is shutting down because the reverse lookup depends on the profile manager still being operational. Unlike when the bridge is handling interactions with a notification, the profile must already be loaded when Display(), Close() or GetDisplayed() is called. This is blocking fixing some bugs in NotificationPlatformBridgeChromeOs: https://chromium-review.googlesource.com/c/chromium/src/+/979268 Bug: none Change-Id: Ibcb2b61cf2f03408a432edfd0a252ec01e9fe30b Reviewed-on: https://chromium-review.googlesource.com/982648 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:
Yoshiki Iguchi <yoshiki@chromium.org> Cr-Commit-Position: refs/heads/master@{#548298}
Showing
This diff is collapsed.
Please register or sign in to comment