Remove NOTIFICATION_PROFILE_DESTROYED from UserScriptListener.
For normal profiles, it isn't sent until browser shutdown, at which point there's no need to check if all user scripts are ready. For OTR profiles, it can be sent when the last incognito window is closed, but |profile_data_| doesn't hold OTR profiles. Bug: 268984 Change-Id: I041fd6242457cf4b94633fe28aacc7c945cfad0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833908Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#704374}
Showing
Please register or sign in to comment