Update IPHBubbleDelegateImpl to use incognito profile when called
incognito. This CL update the profile passing to TrackerFactory and DownloadManagerService from IPHBubbleDelegateImpl. Currently, it is always regular profile, however it is not safe because of possible data leakage from incognito to regular profile. Therefore, this CL uses the profile (i.e., regular or off-the-record profile) belong to active tab in IPHBubbleDelegateImpl,then passes it to TrackerFactory and DownloadManagerService. Bug: 1041781 Change-Id: I6b6d18e50f8e59068db4f59ca2bc75e25883d99a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066930 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#745412}
Showing
Please register or sign in to comment