| Index: components/keyed_service/content/browser_context_keyed_service_factory.h
|
| diff --git a/components/keyed_service/content/browser_context_keyed_service_factory.h b/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| index 91370ddfe25cd7a43f233cd0ab7c255df4ce3f2b..85e50179ff86dc1abeb57d405df3628dc5ee25d9 100644
|
| --- a/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| +++ b/components/keyed_service/content/browser_context_keyed_service_factory.h
|
| @@ -32,10 +32,11 @@ class KEYED_SERVICE_EXPORT BrowserContextKeyedServiceFactory
|
| typedef KeyedService* (*TestingFactoryFunction)(
|
| content::BrowserContext* context);
|
|
|
| - // Associates |factory| with |context| so that |factory| is used to create
|
| - // the KeyedService when requested. |factory| can be NULL to signal that
|
| - // KeyedService should be NULL. Multiple calls to SetTestingFactory() are
|
| - // allowed; previous services will be shut down.
|
| + // Associates |factory| with |context| so that |factory| is used to create the
|
| + // KeyedService when requested. |factory| can be NULL to signal that the
|
| + // KeyedService should be NULL. |context| can be NULL to signal that the
|
| + // factory should be used for all contexts. Multiple calls to
|
| + // SetTestingFactory() are allowed; previous services will be shut down.
|
| void SetTestingFactory(content::BrowserContext* context,
|
| TestingFactoryFunction factory);
|
|
|
|
|