Update usage of OTR profiles in durable_storage_permission_context 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. Incognito test in durable_storage_permission_context_unittest.cc is updated to use the new API, and a new test is added for non-primary OTR profiles. Bug: 1060940 Change-Id: Iaa55ded4a36f993bca833ea0f68afcc9908cf693 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2195961 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#770031}
Showing
Please register or sign in to comment