diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 18:26:45 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 18:26:45 +0000 |
commit | 0940ddebe40365351c6fc53bfaf39bd7cd176249 (patch) | |
tree | 08e9ba592b5c9d2468ebe8dd5f8eb82eb83269b9 /gfx/canvas.h | |
parent | 4f4a32a0521953cec5d133b59dff2758cedc9c7a (diff) | |
download | chromium_src-0940ddebe40365351c6fc53bfaf39bd7cd176249.zip chromium_src-0940ddebe40365351c6fc53bfaf39bd7cd176249.tar.gz chromium_src-0940ddebe40365351c6fc53bfaf39bd7cd176249.tar.bz2 |
Download code cleanup:
Changed the code to be more object-oriented. Instead of exposing 150 accessors
we should do as much as possible inside the object, exposing a nice API.
DownloadFile just got a small step closer to that.
Also, reduce amount of state duplication. For example, information about
the download progress was both in DownloadFile and DownloadFileManager
(maybe it's still somewhere else). The download path information
is still duplicated, removing it is going to be harder.
Finally, removed completely unused state variables from DownloadFile.
TEST=unit_tests, browser_tests, ui_tests
BUG=48913
Review URL: http://codereview.chromium.org/3026012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/canvas.h')
0 files changed, 0 insertions, 0 deletions