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

Unified Diff: content/public/browser/download_manager_delegate.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager_delegate.h
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index 84a5db63e4c63c801721b5fe1d64af2c63b293a7..7f37f10bfc1ffffa5b9159bbba274f06792d1108 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -36,8 +36,6 @@ typedef base::Callback<void(const FilePath&,
// Browser's download manager: manages all downloads and destination view.
class CONTENT_EXPORT DownloadManagerDelegate {
public:
- virtual ~DownloadManagerDelegate();
-
// Lets the delegate know that the download manager is shutting down.
virtual void Shutdown() {}
@@ -133,6 +131,9 @@ class CONTENT_EXPORT DownloadManagerDelegate {
bool can_save_as_complete,
const SavePackagePathPickedCallback& callback) {
}
+
+ protected:
+ virtual ~DownloadManagerDelegate();
};
} // namespace content
« no previous file with comments | « content/common/gpu/image_transport_surface.h ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698