diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 16:57:03 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 16:57:03 +0000 |
commit | 8e38341c65360b48c32b88c58d6ac490516c0c0c (patch) | |
tree | 381bfdd42b59c1c4fa2368dec5ed479d83ab6f16 /chrome/browser/download | |
parent | 0b97feeb41cb115158741daa975ec95d2e10cace (diff) | |
download | chromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.zip chromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.tar.gz chromium_src-8e38341c65360b48c32b88c58d6ac490516c0c0c.tar.bz2 |
FBTF: Even more ctor/virtual deinlining.
(Only 424k off Linux debug .a files).
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3859003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/drag_download_util.cc | 7 | ||||
-rw-r--r-- | chrome/browser/download/drag_download_util.h | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/chrome/browser/download/drag_download_util.cc b/chrome/browser/download/drag_download_util.cc index f493ab1..72804e5 100644 --- a/chrome/browser/download/drag_download_util.cc +++ b/chrome/browser/download/drag_download_util.cc @@ -86,6 +86,13 @@ FileStream* CreateFileStreamForDrop(FilePath* file_path) { return NULL; } +PromiseFileFinalizer::PromiseFileFinalizer( + DragDownloadFile* drag_file_downloader) + : drag_file_downloader_(drag_file_downloader) { +} + +PromiseFileFinalizer::~PromiseFileFinalizer() {} + void PromiseFileFinalizer::Cleanup() { if (drag_file_downloader_.get()) drag_file_downloader_ = NULL; diff --git a/chrome/browser/download/drag_download_util.h b/chrome/browser/download/drag_download_util.h index bd9d44a..31bda47 100644 --- a/chrome/browser/download/drag_download_util.h +++ b/chrome/browser/download/drag_download_util.h @@ -42,10 +42,8 @@ net::FileStream* CreateFileStreamForDrop(FilePath* file_path); // Implementation of DownloadFileObserver to finalize the download process. class PromiseFileFinalizer : public DownloadFileObserver { public: - explicit PromiseFileFinalizer(DragDownloadFile* drag_file_downloader) - : drag_file_downloader_(drag_file_downloader) { - } - virtual ~PromiseFileFinalizer() { } + explicit PromiseFileFinalizer(DragDownloadFile* drag_file_downloader); + virtual ~PromiseFileFinalizer(); // DownloadFileObserver methods. virtual void OnDownloadCompleted(const FilePath& file_path); |