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

Side by Side Diff: services/media/factory_service/media_player_impl.h

Issue 1986303002: Motown: Use new TimelineTransform and related definitions (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixes per feedback. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_ 5 #ifndef MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_
6 #define MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_ 6 #define MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
11 #include "mojo/public/cpp/application/application_impl.h" 11 #include "mojo/public/cpp/application/application_impl.h"
12 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 #include "mojo/services/media/common/interfaces/media_transport.mojom.h" 13 #include "mojo/services/media/common/interfaces/media_transport.mojom.h"
14 #include "mojo/services/media/control/interfaces/media_factory.mojom.h" 14 #include "mojo/services/media/control/interfaces/media_factory.mojom.h"
15 #include "mojo/services/media/core/interfaces/seeking_reader.mojom.h" 15 #include "mojo/services/media/core/interfaces/seeking_reader.mojom.h"
16 #include "services/media/common/mojo_publisher.h"
16 #include "services/media/factory_service/factory_service.h" 17 #include "services/media/factory_service/factory_service.h"
17 #include "services/media/factory_service/mojo_publisher.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 namespace media { 20 namespace media {
21 21
22 // Mojo agent that renders streams from an origin specified by URL. 22 // Mojo agent that renders streams from an origin specified by URL.
23 class MediaPlayerImpl : public MediaFactoryService::Product<MediaPlayer>, 23 class MediaPlayerImpl : public MediaFactoryService::Product<MediaPlayer>,
24 public MediaPlayer { 24 public MediaPlayer {
25 public: 25 public:
26 static std::shared_ptr<MediaPlayerImpl> Create( 26 static std::shared_ptr<MediaPlayerImpl> Create(
27 InterfaceHandle<SeekingReader> reader, 27 InterfaceHandle<SeekingReader> reader,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int64_t target_position_ = kNotSeeking; 129 int64_t target_position_ = kNotSeeking;
130 TimelineTransformPtr transform_; 130 TimelineTransformPtr transform_;
131 MediaMetadataPtr metadata_; 131 MediaMetadataPtr metadata_;
132 MojoPublisher<GetStatusCallback> status_publisher_; 132 MojoPublisher<GetStatusCallback> status_publisher_;
133 }; 133 };
134 134
135 } // namespace media 135 } // namespace media
136 } // namespace mojo 136 } // namespace mojo
137 137
138 #endif // MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_ 138 #endif // MOJO_SERVICES_MEDIA_FACTORY_MEDIA_PLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « services/media/factory_service/media_demux_impl.h ('k') | services/media/factory_service/media_sink_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698