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 f5cbd3a202b89549954dc03209673ee33669f8bc..cad892de27055f65c5cd10a391e6aa1ece84ea7b 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", |