| Index: chrome/browser/extensions/api/declarative/test_rules_registry.h
|
| diff --git a/chrome/browser/extensions/api/declarative/test_rules_registry.h b/chrome/browser/extensions/api/declarative/test_rules_registry.h
|
| index 4100587bc85cc0990a03a591a182f9b2c7824cd5..f9bac3fe085e2e1579e61bb0dee221b55c147bf9 100644
|
| --- a/chrome/browser/extensions/api/declarative/test_rules_registry.h
|
| +++ b/chrome/browser/extensions/api/declarative/test_rules_registry.h
|
| @@ -29,7 +29,7 @@ class TestRulesRegistry : public RulesRegistry {
|
| // RulesRegistry implementation:
|
| virtual std::string AddRules(
|
| const std::string& extension_id,
|
| - const std::vector<base::DictionaryValue*>& rules) OVERRIDE;
|
| + const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) OVERRIDE;
|
| virtual std::string RemoveRules(
|
| const std::string& extension_id,
|
| const std::vector<std::string>& rule_identifiers) OVERRIDE;
|
| @@ -38,16 +38,17 @@ class TestRulesRegistry : public RulesRegistry {
|
| virtual std::string GetRules(
|
| const std::string& extension_id,
|
| const std::vector<std::string>& rule_identifiers,
|
| - std::vector<base::DictionaryValue*>* out) OVERRIDE;
|
| + std::vector<linked_ptr<RulesRegistry::Rule> >* out) OVERRIDE;
|
| virtual std::string GetAllRules(
|
| const std::string& extension_id,
|
| - std::vector<base::DictionaryValue*>* out) OVERRIDE;
|
| + std::vector<linked_ptr<RulesRegistry::Rule> >* out) OVERRIDE;
|
| virtual void OnExtensionUnloaded(const std::string& extension_id) OVERRIDE;
|
| + virtual content::BrowserThread::ID GetOwnerThread() OVERRIDE;
|
|
|
| private:
|
| // Map of rule identifier to actual rule.
|
| // TODO(battre): consider the extension_ids as part of the key.
|
| - typedef std::map<std::string, linked_ptr<base::DictionaryValue> >
|
| + typedef std::map<std::string, linked_ptr<RulesRegistry::Rule> >
|
| RulesDictionary;
|
| RulesDictionary rules_;
|
| };
|
|
|