Update OffTheRecord profile API in several tests.
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. Several tests are updated to use the new API. This CL does NOT change any behavior. Bug: 1060940 Change-Id: Ib64d95598959d77cf05f9c2b3beb8fcd8625d779 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214388 Auto-Submit: Ramin Halavati <rhalavati@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#771573}
Showing
Please register or sign in to comment