summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_url_request_job.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 07:04:36 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-28 07:04:36 +0000
commite0ffc6f888aff5ee5d95c5049f182aaa27105b82 (patch)
tree497a28909a6fca306b48d0e548c1b7dcd41d689a /webkit/appcache/appcache_url_request_job.h
parent49dd0c40f7201e621f0bbf2d958e180fdeb57422 (diff)
downloadchromium_src-e0ffc6f888aff5ee5d95c5049f182aaa27105b82.zip
chromium_src-e0ffc6f888aff5ee5d95c5049f182aaa27105b82.tar.gz
chromium_src-e0ffc6f888aff5ee5d95c5049f182aaa27105b82.tar.bz2
RefCounted types should not have public destructors, webkit/
BUG=123295 TEST=none Review URL: http://codereview.chromium.org/10066044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_url_request_job.h')
-rw-r--r--webkit/appcache/appcache_url_request_job.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_url_request_job.h b/webkit/appcache/appcache_url_request_job.h
index 25b0cf6..2e11abc 100644
--- a/webkit/appcache/appcache_url_request_job.h
+++ b/webkit/appcache/appcache_url_request_job.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -23,7 +23,6 @@ class APPCACHE_EXPORT AppCacheURLRequestJob : public net::URLRequestJob,
public AppCacheStorage::Delegate {
public:
AppCacheURLRequestJob(net::URLRequest* request, AppCacheStorage* storage);
- virtual ~AppCacheURLRequestJob();
// Informs the job of what response it should deliver. Only one of these
// methods should be called, and only once per job. A job will sit idle and
@@ -77,6 +76,9 @@ class APPCACHE_EXPORT AppCacheURLRequestJob : public net::URLRequestJob,
return cache_entry_not_found_;
}
+ protected:
+ virtual ~AppCacheURLRequestJob();
+
private:
friend class AppCacheRequestHandlerTest;
friend class AppCacheURLRequestJobTest;