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

Unified Diff: chrome/browser/download/download_extension_api.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: chrome/browser/download/download_extension_api.h
diff --git a/chrome/browser/download/download_extension_api.h b/chrome/browser/download/download_extension_api.h
index 9cf95f4f7dfdef600c59268c3480b20cfbe4638a..54410ffd4ac1e5aa3e795a88935f3d14309880dc 100644
--- a/chrome/browser/download/download_extension_api.h
+++ b/chrome/browser/download/download_extension_api.h
@@ -67,6 +67,8 @@ class DownloadsFunctionInterface {
};
protected:
+ virtual ~DownloadsFunctionInterface() {}
+
// Return true if args_ is well-formed, otherwise set error_ and return false.
virtual bool ParseArgs() = 0;

Powered by Google App Engine
This is Rietveld 408576698