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 c5e3e5dbeda16254208f26c442235ee0f7c89cad..5965e25e49398d1d8d4007803b5b9957493d4f41 100644 |
--- a/chrome/browser/media/router/offscreen_presentation_manager_factory.cc |
+++ b/chrome/browser/media/router/offscreen_presentation_manager_factory.cc |
@@ -39,6 +39,12 @@ OffscreenPresentationManagerFactory::GetOrCreateForBrowserContext( |
service_factory.Get().GetServiceForBrowserContext(context, true)); |
} |
+// static |
+OffscreenPresentationManagerFactory* |
+OffscreenPresentationManagerFactory::GetInstanceForTest() { |
+ return &service_factory.Get(); |
+} |
+ |
OffscreenPresentationManagerFactory::OffscreenPresentationManagerFactory() |
: BrowserContextKeyedServiceFactory( |
"OffscreenPresentationManager", |