Update EphemeralTabCoordinator to use incognito profile when called
incognito. |Profile#getLastUsedProfile| is deprecated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates EphemeralTabCoordinator class. This CL creates a profile object based on isIncognito param to pass the current profile(i.e., regular or off-the-record profile) for TrackerFactory and FaviconLoader,while the profile always regular profile in current usage. This CL changes the behavior of code to make it run with correct profile. Bug: 1041781 Change-Id: Ia412cb5bdf28a269d2b75fac7c8cbf559c36a51d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051985 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Donn Denman <donnd@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Reviewed-by:
Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#743480}
Showing
Please register or sign in to comment