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

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

Issue 2679893002: [Media Router] Add ProvideSinks() Mojo API (Closed)
Patch Set: fix android compile error Created 3 years, 8 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 8601ffeac592a74f94f67a6ec435b5ce1fc446a4..f3f9d3d7b190ab84cdb6c0fa62f51936b1f8d6e3 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl.h
@@ -109,6 +109,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 std::vector<MediaSinkInternal>& sinks) override;
const std::string& media_route_provider_extension_id() const {
return media_route_provider_extension_id_;
@@ -284,6 +286,9 @@ class MediaRouterMojoImpl : public MediaRouterBase,
const std::string& domain,
const MediaSinkSearchResponseCallback& sink_callback);
+ void DoProvideSinks(const std::string& provider_name,
+ const std::vector<MediaSinkInternal>& sinks);
+
// Error handler callback for |binding_| and |media_route_provider_|.
void OnConnectionError();
« no previous file with comments | « chrome/browser/media/router/mojo/media_router.mojom ('k') | chrome/browser/media/router/mojo/media_router_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698