Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: content/browser/download/drag_download_util.h

Issue 10068037: RefCounted types should not have public destructors, content/browser part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/drag_download_util.h
diff --git a/content/browser/download/drag_download_util.h b/content/browser/download/drag_download_util.h
index a65900eafbd3939b3af9b85ebd470c0ac853b01f..468173a0c5d0aca5999f49a56a7e1b9b79282439 100644
--- a/content/browser/download/drag_download_util.h
+++ b/content/browser/download/drag_download_util.h
@@ -45,13 +45,14 @@ net::FileStream* CreateFileStreamForDrop(
class PromiseFileFinalizer : public ui::DownloadFileObserver {
public:
explicit PromiseFileFinalizer(DragDownloadFile* drag_file_downloader);
- virtual ~PromiseFileFinalizer();
// DownloadFileObserver methods.
virtual void OnDownloadCompleted(const FilePath& file_path) OVERRIDE;
virtual void OnDownloadAborted() OVERRIDE;
private:
+ virtual ~PromiseFileFinalizer();
+
void Cleanup();
scoped_refptr<DragDownloadFile> drag_file_downloader_;

Powered by Google App Engine
This is Rietveld 408576698