diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 08:54:10 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 08:54:10 +0000 |
commit | 7ee2e88cc20da162083e8371d9f73d9ae204fd1f (patch) | |
tree | 0762f380421ff6283e81e557fb9ff986d0344640 /webkit/appcache | |
parent | 24258f8c58c172fe7ce59822752f9757ebb7e53c (diff) | |
download | chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.zip chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.tar.gz chromium_src-7ee2e88cc20da162083e8371d9f73d9ae204fd1f.tar.bz2 |
RefCounted types should not have public destructors, webkit/ edition
BUG=123295
TEST=it compiles
Review URL: https://chromiumcodereview.appspot.com/10416004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/appcache_interfaces.h | 3 | ||||
-rw-r--r-- | webkit/appcache/appcache_storage.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/webkit/appcache/appcache_interfaces.h b/webkit/appcache/appcache_interfaces.h index 113fe47..c9ade5b 100644 --- a/webkit/appcache/appcache_interfaces.h +++ b/webkit/appcache/appcache_interfaces.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. @@ -152,6 +152,7 @@ class APPCACHE_EXPORT AppCacheBackend { virtual void GetResourceList( int host_id, std::vector<AppCacheResourceInfo>* resource_infos) = 0; + protected: virtual ~AppCacheBackend() {} }; diff --git a/webkit/appcache/appcache_storage.h b/webkit/appcache/appcache_storage.h index 9f74a59..c04315b 100644 --- a/webkit/appcache/appcache_storage.h +++ b/webkit/appcache/appcache_storage.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. @@ -36,8 +36,6 @@ class APPCACHE_EXPORT AppCacheStorage { class APPCACHE_EXPORT Delegate { public: - virtual ~Delegate() {} - // If retrieval fails, 'collection' will be NULL. virtual void OnAllInfo(AppCacheInfoCollection* collection) {} @@ -70,6 +68,9 @@ class APPCACHE_EXPORT AppCacheStorage { const GURL& url, const AppCacheEntry& entry, const GURL& namespace_entry_url, const AppCacheEntry& fallback_entry, int64 cache_id, int64 group_id, const GURL& mainfest_url) {} + + protected: + virtual ~Delegate() {} }; explicit AppCacheStorage(AppCacheService* service); |