Lines Matching defs:RulesRegistry
37 // RulesRegistry::Rule objects. It contains all the methods that need to run on
40 class RulesRegistry : public base::RefCountedThreadSafe<RulesRegistry> {
62 RulesRegistry(content::BrowserContext* browser_context,
72 // RulesRegistry implementation:
74 // Registers |rules|, owned by |extension_id| to this RulesRegistry.
91 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules);
94 // |extension_id| from this RulesRegistry.
96 // RulesRegistry and are ignored.
117 std::vector<linked_ptr<RulesRegistry::Rule> >* out);
121 std::vector<linked_ptr<RulesRegistry::Rule> >* out);
123 // Called to notify the RulesRegistry that the extension availability has
155 virtual ~RulesRegistry();
166 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules);
173 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) = 0;
181 friend class base::RefCountedThreadSafe<RulesRegistry>;
187 typedef std::map<RulesDictionaryKey, linked_ptr<RulesRegistry::Rule> >
200 base::WeakPtr<RulesRegistry> GetWeakPtr() {
222 // RulesRegistry.
246 base::WeakPtrFactory<RulesRegistry> weak_ptr_factory_;
272 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules);
276 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules);
291 DISALLOW_COPY_AND_ASSIGN(RulesRegistry);