Update OffTheRecord profile API in WebAppUtils test.
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. OffTheRecord profile API use in web_app_utils_unittest.cc are updated and new test cases for non-primary OTRs are added. Bug: 1060940 Change-Id: I4ae83207a1b971efa7aba5bf5e3bf351f2b107de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212121 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Auto-Submit: Ramin Halavati <rhalavati@chromium.org> Reviewed-by:Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#771911}
Showing
Please register or sign in to comment