| Index: chrome/browser/media/router/offscreen_presentation_manager_factory.cc
|
| diff --git a/chrome/browser/media/router/offscreen_presentation_manager_factory.cc b/chrome/browser/media/router/offscreen_presentation_manager_factory.cc
|
| index 1f8721c6041c87d9bd5adf82da884e01843a77a8..a23b90e6b3f60236575f3c909ce5ccbf61c4bb1c 100644
|
| --- a/chrome/browser/media/router/offscreen_presentation_manager_factory.cc
|
| +++ b/chrome/browser/media/router/offscreen_presentation_manager_factory.cc
|
| @@ -50,6 +50,12 @@ OffscreenPresentationManagerFactory::GetOrCreateForBrowserContext(
|
| service_factory.Get().GetServiceForBrowserContext(context, true));
|
| }
|
|
|
| +// static
|
| +OffscreenPresentationManagerFactory*
|
| +OffscreenPresentationManagerFactory::GetInstanceForTest() {
|
| + return &service_factory.Get();
|
| +}
|
| +
|
| OffscreenPresentationManagerFactory::OffscreenPresentationManagerFactory()
|
| : BrowserContextKeyedServiceFactory(
|
| "OffscreenPresentationManager",
|
|
|