• Ramin Halavati's avatar
    Update OffTheRecord profile API in several tests. · cd0f7bb9
    Ramin Halavati authored
    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: default avatarMarc Treib <treib@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#771573}
    cd0f7bb9
in_process_browser_test.cc 23 KB