diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:05 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:37:05 +0000 |
commit | 422c0f17466cddf30fd6815f9d3519a3815264c6 (patch) | |
tree | 416182cac3cc9968888273a8e68e58e51b45358c /chrome/browser/dom_ui | |
parent | bfe5c69fc8cd05558fa5571ff8699a5b0edf0a64 (diff) | |
download | chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.zip chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.gz chromium_src-422c0f17466cddf30fd6815f9d3519a3815264c6.tar.bz2 |
Fourth patch in making destructors of refcounted objects private.
BUG=26749
Review URL: http://codereview.chromium.org/360043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/chrome_url_data_manager.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/chrome_url_data_manager.cc b/chrome/browser/dom_ui/chrome_url_data_manager.cc index b6cba21..a2ea998 100644 --- a/chrome/browser/dom_ui/chrome_url_data_manager.cc +++ b/chrome/browser/dom_ui/chrome_url_data_manager.cc @@ -38,7 +38,6 @@ static const char kChromeURLScheme[] = "chrome"; class URLRequestChromeJob : public URLRequestJob { public: explicit URLRequestChromeJob(URLRequest* request); - virtual ~URLRequestChromeJob(); // URLRequestJob implementation. virtual void Start(); @@ -55,6 +54,8 @@ class URLRequestChromeJob : public URLRequestJob { } private: + virtual ~URLRequestChromeJob(); + // Helper for Start(), to let us start asynchronously. // (This pattern is shared by most URLRequestJob implementations.) void StartAsync(); @@ -82,9 +83,10 @@ class URLRequestChromeJob : public URLRequestJob { class URLRequestChromeFileJob : public URLRequestFileJob { public: URLRequestChromeFileJob(URLRequest* request, const FilePath& path); - virtual ~URLRequestChromeFileJob(); private: + virtual ~URLRequestChromeFileJob(); + DISALLOW_EVIL_CONSTRUCTORS(URLRequestChromeFileJob); }; |