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

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

Issue 1228863005: [MediaRouter] The minimal change to make everything build on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved MRDC::GetOrCreateForWebContents to its own .cc file Created 5 years, 5 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
Index: chrome/browser/media/router/media_router_mojo_impl.h
diff --git a/chrome/browser/media/router/media_router_mojo_impl.h b/chrome/browser/media/router/media_router_mojo_impl.h
index 3569a725618677dc1c7c249fbc7c8f738036c805..54f803f1a1821901618b9b1a5acd076246e129ca 100644
--- a/chrome/browser/media/router/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/media_router_mojo_impl.h
@@ -21,7 +21,6 @@
#include "chrome/browser/media/router/issue.h"
#include "chrome/browser/media/router/media_router.h"
#include "chrome/browser/media/router/media_router.mojom.h"
-#include "components/keyed_service/core/keyed_service.h"
namespace content {
class BrowserContext;
@@ -36,8 +35,7 @@ namespace media_router {
// MediaRouter implementation that delegates calls to the component extension.
// Also handles the suspension and wakeup of the component extension.
class MediaRouterMojoImpl : public MediaRouter,
- public interfaces::MediaRouter,
- public KeyedService {
+ public interfaces::MediaRouter {
public:
~MediaRouterMojoImpl() override;
@@ -88,7 +86,7 @@ class MediaRouterMojoImpl : public MediaRouter,
}
private:
- friend class MediaRouterMojoImplFactory;
+ friend class MediaRouterFactory;
friend class MediaRouterMojoTest;
FRIEND_TEST_ALL_PREFIXES(MediaRouterMojoExtensionTest,

Powered by Google App Engine
This is Rietveld 408576698