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

Unified Diff: chrome/browser/media/router/media_router_factory.h

Issue 2294973002: Create MediaRouterActionController and MediaRouterUIService (Closed)
Patch Set: Modify BUILD.gn files, rebase Created 4 years, 3 months 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
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router_factory.h
diff --git a/chrome/browser/media/router/media_router_factory.h b/chrome/browser/media/router/media_router_factory.h
index d85a043d47f5ae70a6752972e7b5daacb6171daa..95c93c22cd5d85f7355e674e4c260a5e3ccd3115 100644
--- a/chrome/browser/media/router/media_router_factory.h
+++ b/chrome/browser/media/router/media_router_factory.h
@@ -24,6 +24,8 @@ class MediaRouterFactory : public BrowserContextKeyedServiceFactory {
public:
static MediaRouter* GetApiForBrowserContext(content::BrowserContext* context);
+ static MediaRouterFactory* GetInstance();
+
protected:
// We override the shutdown method for the factory to give the Media Router a
// chance to remove incognito media routes.
@@ -37,9 +39,6 @@ class MediaRouterFactory : public BrowserContextKeyedServiceFactory {
MediaRouterFactory();
~MediaRouterFactory() override;
- // Exposed for testing.
- static MediaRouterFactory* GetMediaRouterFactoryForTest();
-
// BrowserContextKeyedServiceFactory interface.
content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698