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

Unified Diff: chromecast/browser/media/media_caps_impl.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . 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
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/media/media_caps_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/media_caps_impl.h
diff --git a/chromecast/browser/media/media_caps_impl.h b/chromecast/browser/media/media_caps_impl.h
index 1324cd313aeb7b1c52a3a35a6a0b6d2258f40c76..4aa1560b501d6fd3d620a43c7a30ad4a577c551e 100644
--- a/chromecast/browser/media/media_caps_impl.h
+++ b/chromecast/browser/media/media_caps_impl.h
@@ -13,6 +13,10 @@
#include "mojo/public/cpp/bindings/interface_ptr_set.h"
#include "ui/gfx/geometry/size.h"
+namespace service_manager {
+struct BindSourceInfo;
+}
+
namespace chromecast {
namespace media {
@@ -24,7 +28,8 @@ class MediaCapsImpl : public mojom::MediaCaps {
~MediaCapsImpl() override;
void Initialize();
- void AddBinding(mojom::MediaCapsRequest request);
+ void AddBinding(const service_manager::BindSourceInfo& source_info,
+ mojom::MediaCapsRequest request);
void SetSupportedHdmiSinkCodecs(unsigned int supported_codecs_bitmask);
void ScreenResolutionChanged(unsigned width, unsigned height);
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/media/media_caps_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698