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

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

Issue 2675033002: [Media Router] Add MediaSink subtypes (Closed)
Patch Set: add url.mojom to media_router.mojoms JsResources Created 3 years, 10 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/mojo/media_router_mojo_impl.h
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl.h b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
index 4ee4caf4558c29d43ab398248b7ff40fe207cfc4..5c77cd4dbb20b9528feb9e87ec874ffe5aace5fb 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -285,7 +285,7 @@ class MediaRouterMojoImpl : public MediaRouterBase,
callback) override;
void OnIssue(const IssueInfo& issue) override;
void OnSinksReceived(const std::string& media_source,
- std::vector<mojom::MediaSinkPtr> sinks,
+ std::vector<std::unique_ptr<MediaSink>> sinks,
const std::vector<std::string>& origins) override;
void OnRoutesUpdated(
std::vector<mojom::MediaRoutePtr> routes,

Powered by Google App Engine
This is Rietveld 408576698