diff options
Diffstat (limited to 'chrome/browser/download/download_manager.h')
-rw-r--r-- | chrome/browser/download/download_manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/download/download_manager.h b/chrome/browser/download/download_manager.h index fec86ad..b7d87c7 100644 --- a/chrome/browser/download/download_manager.h +++ b/chrome/browser/download/download_manager.h @@ -98,6 +98,9 @@ class DownloadItem { // Called when a downloaded file has been opened. virtual void OnDownloadOpened(DownloadItem* download) = 0; + + protected: + ~Observer() {} }; // Constructing from persistent store: @@ -323,6 +326,9 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager>, // downloads. The DownloadManagerObserver must copy the vector, but does not // own the individual DownloadItems, when this call is made. virtual void SetDownloads(std::vector<DownloadItem*>& downloads) = 0; + + protected: + ~Observer() {} }; // Public API |