diff options
author | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-25 03:11:07 +0000 |
---|---|---|
committer | asanka@chromium.org <asanka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-25 03:11:07 +0000 |
commit | 2746b5cfb0ff91b710e1e974f19facc3ea262485 (patch) | |
tree | d3ccfb0d83d7b860c491b93eb67de687528fb7a7 /chrome/browser/autocomplete/zero_suggest_provider.cc | |
parent | 1a852aba2fc7fcbad3ad29005c482b91631b4ef3 (diff) | |
download | chromium_src-2746b5cfb0ff91b710e1e974f19facc3ea262485.zip chromium_src-2746b5cfb0ff91b710e1e974f19facc3ea262485.tar.gz chromium_src-2746b5cfb0ff91b710e1e974f19facc3ea262485.tar.bz2 |
[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
Review URL: https://chromiumcodereview.appspot.com/17515003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/zero_suggest_provider.cc')
0 files changed, 0 insertions, 0 deletions