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

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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: merge with https://codereview.chromium.org/2675033002/ 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 135310061e131ac169a5f35dd737c612a54b896d..a8ce08b99b768e8e9c8f3a47d32fa7d9c34205ac 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -108,6 +108,8 @@ class MediaRouterMojoImpl : public MediaRouterBase,
const std::string& search_input,
const std::string& domain,
const MediaSinkSearchResponseCallback& sink_callback) override;
+ void ProvideSinks(const std::string& provider_name,
+ const MediaSinkList& sinks) override;
const std::string& media_route_provider_extension_id() const {
return media_route_provider_extension_id_;
@@ -276,6 +278,9 @@ class MediaRouterMojoImpl : public MediaRouterBase,
const std::string& domain,
const MediaSinkSearchResponseCallback& sink_callback);
+ void DoProvideSinks(const std::string& provider_name,
+ const MediaSinkList& sinks);
+
// Error handler callback for |binding_| and |media_route_provider_|.
void OnConnectionError();

Powered by Google App Engine
This is Rietveld 408576698