Update OTR profile usage in TTS Engine.
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. Use cases of these functions in TTS Engine are updated to use the new APIs. This CL does not change any behavior. Bug: 1060940 Change-Id: I8b5c3c4386e8d5c82172a5d34e0c4dc25b40257f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388124Reviewed-by:David Tseng <dtseng@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#803858}
Showing
Please register or sign in to comment