Update download classes to replace |getLastUsedProfile| function.
|Profile#getLastUsedProfile| is depreciated and replaced with |Profile#getLastUsedRegularProfile|. This CL updates the deprecated function at download classes. This CL also updates |DownloadManagerCoordinator#create| function by adding |isIncognito| param to pass the correct profile type (i.e., regular or incognito). Bug: 1041781 Change-Id: I8ecae53f09396067dbeaa1b89bd0a0c0840a9ab4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148749 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#760011}
Showing
Please register or sign in to comment