Update ChildAccountFeedbackReporter to use incognito profile when called
incognito. |Profile#getLastUsedProfile| is deprecated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates ChildAccountFeedbackReporter class. This CL passes profile (i.e., regular or off-the-record profile) object to FeedbackCollector, while the profile always regular profile in current usage. This CL changes the behaviour of code to make it run with correct profile. Bug: 1041781 Change-Id: I3ef75d4250044e81c583868e399598a5f48a988f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2066538 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/master@{#743510}
Showing
Please register or sign in to comment