Update OTR profile calls in Startup browser creator and tab provider.
Profile API is being updated (issue 1033903) and the usage of GetOffTheRecordProfile without argument is getting deprecated. Use cases of this call that only refer to incognito or guest mode can use GetPrimaryOTRProfile() instead. All calls to this function in StartupBrowserCreator and StartupTabProvider test are updated. This CL does not make any behavioral changes. Bug: 1060940 Change-Id: I15ae29ced658772423994bf5429eeb483b13593a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131327Reviewed-by:Tommy Martino <tmartino@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#759542}
Showing
Please register or sign in to comment