Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5687)

Unified Diff: chrome/browser/media/router/offscreen_presentation_manager_factory.cc

Issue 2477573002: [Presentation API] (3rd) (1-UA) Split PresentationServiceDelegateImpl(PSDImpl) (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..78b25962d432b83b82f0d46a7ffe18d54cccac9a 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::GetInstance() {
+ return &service_factory.Get();
+}
+
OffscreenPresentationManagerFactory::OffscreenPresentationManagerFactory()
: BrowserContextKeyedServiceFactory(
"OffscreenPresentationManager",

Powered by Google App Engine
This is Rietveld 408576698