| Index: extensions/browser/api/declarative/rules_registry_service.cc
|
| diff --git a/extensions/browser/api/declarative/rules_registry_service.cc b/extensions/browser/api/declarative/rules_registry_service.cc
|
| index 939b01eab2ae33b92bdf779c059582e6ae5ee6ab..a5af632e615a1ad6577e4f7ecf9c79d87fa52698 100644
|
| --- a/extensions/browser/api/declarative/rules_registry_service.cc
|
| +++ b/extensions/browser/api/declarative/rules_registry_service.cc
|
| @@ -137,6 +137,14 @@ RulesRegistryService* RulesRegistryService::Get(
|
| return BrowserContextKeyedAPIFactory<RulesRegistryService>::Get(context);
|
| }
|
|
|
| +// static
|
| +RulesRegistryService* RulesRegistryService::Get(
|
| + content::BrowserContext* context,
|
| + bool create) {
|
| + return BrowserContextKeyedAPIFactory<RulesRegistryService>::Get(context,
|
| + create);
|
| +}
|
| +
|
| void RulesRegistryService::RegisterRulesRegistry(
|
| scoped_refptr<RulesRegistry> rule_registry) {
|
| const std::string event_name(rule_registry->event_name());
|
|
|