| Index: extensions/browser/api/declarative/rules_registry_service.h
|
| diff --git a/extensions/browser/api/declarative/rules_registry_service.h b/extensions/browser/api/declarative/rules_registry_service.h
|
| index f03adbad7f5b3f1ade92989e3b8879e86e7d0e32..3f9113813a96329eb25d9c24c4d4cbb328fc1521 100644
|
| --- a/extensions/browser/api/declarative/rules_registry_service.h
|
| +++ b/extensions/browser/api/declarative/rules_registry_service.h
|
| @@ -61,8 +61,13 @@ class RulesRegistryService : public BrowserContextKeyedAPI,
|
| static BrowserContextKeyedAPIFactory<RulesRegistryService>*
|
| GetFactoryInstance();
|
|
|
| - // Convenience method to get the RulesRegistryService for a context.
|
| + // Convenience method to get the RulesRegistryService for a context. If
|
| + // |create| is provided, it specifies whether a new RulesRegistryService
|
| + // should be created if one does not already exist (true if omitted). If
|
| + // |create| is false and one does not already exist, nullptr will be returned.
|
| static RulesRegistryService* Get(content::BrowserContext* context);
|
| + static RulesRegistryService* Get(content::BrowserContext* context,
|
| + bool create);
|
|
|
| int GetNextRulesRegistryID();
|
|
|
|
|