Fix an issue that download progress notification is shown when killing browser
When browser gets killed, we should show a paused notification. However, onTaskRemoved() is often called too early before process fully stops. As a result, a progress notification can arrive after Chrome changes all the notification to paused. This may cause chrome to show a paused notification and then immediately change it to progress while killing the browser. Only progress notification matters, cancel/pause doesn't really matter. BUG=642191 Review-Url: https://codereview.chromium.org/2296913002 Cr-Commit-Position: refs/heads/master@{#415439}
Showing
Please register or sign in to comment