Update OTR Profile API usage in AppController.
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. Usage of these API functions are updated in AppController. Bug: 1060940 Change-Id: Icd809c023b069c83c426c362efe1303fbc8a40c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388463Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#803920}
Showing
Please register or sign in to comment