Update OffTheRecord profile APIs in notifications.
Profile API is being updated (issue 1033903) and the usage of GetOffTheRecordProfile and HasOffTheRecordProfile without argument is getting deprecated. Use cases of this call that ONLY refer to incognito or guest mode can use [Get/Has]PrimaryOTRProfile() instead. c/b/notifications/* are updated to use the new API. Bug: 1060940 Change-Id: Ic815443fe5d7f3781578813abf4be7470128690b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210982 Commit-Queue: Yoshiki Iguchi <yoshiki@chromium.org> Auto-Submit: Ramin Halavati <rhalavati@chromium.org> Reviewed-by:Yoshiki Iguchi <yoshiki@chromium.org> Cr-Commit-Position: refs/heads/master@{#771675}
Showing
Please register or sign in to comment