Replace |profile_key_util.cc#GetLastUsedProfileKey| on updates.
This CL replaces usages of |profile_key_util.cc#GetLastUsedProfileKey| with |profile_key_util.cc#GetLastUsedRegularProfileKey| in update_notification_service_bridge_android.cc. Since UpdateNotificationServiceFactory returns the same instance for both regular and incognito profile, it is correct to use always regular profile. However, this is not safe in case of future changes as TODO states. Note: This CL is only clean-up and does not change code behaviour. Bug: 1041781 Change-Id: I39e6003e9846f6f58a52e0fb291a30ac761bf5cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246693 Commit-Queue: Side YILMAZ <sideyilmaz@chromium.org> Reviewed-by:Ramin Halavati <rhalavati@chromium.org> Reviewed-by:
Hesen Zhang <hesen@chromium.org> Cr-Commit-Position: refs/heads/master@{#779723}
Showing
Please register or sign in to comment