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

Unified Diff: chrome/browser/extensions/api/declarative/rules_registry_with_cache.h

Issue 10071035: RefCounted types should not have public destructors, chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 years, 8 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/extensions/api/declarative/rules_registry_with_cache.h
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
index 82f6aec7139657d1127c313adfe2efae8f17f0ad..4ad4e510c83eceb55657d8b970d70e7e07e544bb 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
+++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.h
@@ -20,7 +20,6 @@ namespace extensions {
class RulesRegistryWithCache : public RulesRegistry {
public:
RulesRegistryWithCache();
- virtual ~RulesRegistryWithCache();
// RulesRegistry implementation:
virtual std::string AddRules(
@@ -42,6 +41,8 @@ class RulesRegistryWithCache : public RulesRegistry {
virtual content::BrowserThread::ID GetOwnerThread() const = 0;
protected:
+ virtual ~RulesRegistryWithCache();
+
// These functions need to provide the same functionality as their
// RulesRegistry counterparts. They need to be atomic.
virtual std::string AddRulesImpl(

Powered by Google App Engine
This is Rietveld 408576698