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

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

Issue 10695130: Fix a memory leak in RulesRegistryStorageDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/declarative/rules_registry_service.h
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_service.h b/chrome/browser/extensions/api/declarative/rules_registry_service.h
index bc4e71821b1ea07aa88860f8ed05d2a7e73974e6..3c3887d52c56c467d6b62ad3d31e010073069218 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry_service.h
+++ b/chrome/browser/extensions/api/declarative/rules_registry_service.h
@@ -23,6 +23,7 @@ class NotificationSource;
namespace extensions {
class RulesRegistry;
+class RulesRegistryStorageDelegate;
}
namespace extensions {
@@ -67,6 +68,7 @@ class RulesRegistryService : public content::NotificationObserver {
const content::NotificationDetails& details) OVERRIDE;
RulesRegistryMap rule_registries_;
+ std::vector<RulesRegistryStorageDelegate*> delegates_;
battre 2012/07/11 09:16:32 Add comment that delegates are owned by rules_regi
Matt Perry 2012/07/11 21:15:28 Done.
content::NotificationRegistrar registrar_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative/rules_registry_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698