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

Unified Diff: chromecast/media/mojo/cast_media_client.h

Issue 1649933002: [Chromecast] Hook up mojo media pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted unnecessary changes Created 4 years, 11 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: chromecast/media/mojo/cast_media_client.h
diff --git a/chromecast/media/mojo/cast_media_client.h b/chromecast/media/mojo/cast_media_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..e910b62ef610b3b997eae7b39e2cf163d86c5a7c
--- /dev/null
+++ b/chromecast/media/mojo/cast_media_client.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "media/mojo/services/mojo_media_client.h"
+
+namespace chromecast {
+namespace media {
+
+class CastMediaClient : public ::media::MojoMediaClient {
xhwang 2016/01/29 07:00:44 We actually have media::MediaClient which is diffe
+ public:
+ CastMediaClient();
+ ~CastMediaClient() override;
+
+ // MojoMediaClient overrides.
+ void Initialize() override;
+ scoped_ptr<::media::RendererFactory> CreateRendererFactory(
+ const scoped_refptr<::media::MediaLog>& media_log) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CastMediaClient);
+};
+
+} // namespace media
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698