Description[Downloads] Move UpdateObservers out of TransitionTo in DownloadItemImpl
The UpdateObservers call doesn't take into account other changes that
may have been made to the DownloadItem and may not call UpdateObservers
when it should. It's still the responsibility of the caller to invoke
UpdateObservers if ncessary. Make this requirement explicit.
Also only release the DownloadFile and cancel the request when
interrupting an IN_PROGRESS download.
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208368
Patch Set 1 : #Patch Set 2 : Add parameter to TransitionTo for controlling notifications #Patch Set 3 : Merged with r207865 #
Total comments: 8
Patch Set 4 : Restore necessary UpdateObservers() call #
Messages
Total messages: 9 (0 generated)
|