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

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: MSVC fixes 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..b7cdbcdad0d18a68b29dbd8c212625f01de60c3e 100644
--- a/content/browser/download/drag_download_util.h
+++ b/content/browser/download/drag_download_util.h
@@ -45,12 +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;
+ protected:
+ virtual ~PromiseFileFinalizer();
+
private:
void Cleanup();
« no previous file with comments | « content/browser/download/download_net_log_parameters.cc ('k') | content/browser/download/drag_download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698