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

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

Issue 2006093004: Motown: Convert MediaSink to expose MediaTimelineControlSite (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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_SOURCE_IMPL_H_ 5 #ifndef MOJO_SERVICES_MEDIA_FACTORY_MEDIA_SOURCE_IMPL_H_
6 #define MOJO_SERVICES_MEDIA_FACTORY_MEDIA_SOURCE_IMPL_H_ 6 #define MOJO_SERVICES_MEDIA_FACTORY_MEDIA_SOURCE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Runs a seek callback. 111 // Runs a seek callback.
112 static void RunSeekCallback(const SeekCallback& callback); 112 static void RunSeekCallback(const SeekCallback& callback);
113 113
114 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 114 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
115 Array<MediaTypeSetPtr> allowed_media_types_; 115 Array<MediaTypeSetPtr> allowed_media_types_;
116 Graph graph_; 116 Graph graph_;
117 PartRef demux_part_; 117 PartRef demux_part_;
118 std::shared_ptr<Demux> demux_; 118 std::shared_ptr<Demux> demux_;
119 Incident init_complete_; 119 Incident init_complete_;
120 std::vector<std::unique_ptr<Stream>> streams_; 120 std::vector<std::unique_ptr<Stream>> streams_;
121 MediaState state_ = MediaState::UNPREPARED;
122 MojoPublisher<GetStatusCallback> status_publisher_; 121 MojoPublisher<GetStatusCallback> status_publisher_;
123 }; 122 };
124 123
125 } // namespace media 124 } // namespace media
126 } // namespace mojo 125 } // namespace mojo
127 126
128 #endif // MOJO_SERVICES_MEDIA_FACTORY_MEDIA_SOURCE_IMPL_H_ 127 #endif // MOJO_SERVICES_MEDIA_FACTORY_MEDIA_SOURCE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698