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

Side by Side Diff: services/media/common/mojo_publisher.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
« no previous file with comments | « services/media/common/BUILD.gn ('k') | services/media/common/rate_control_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SERVICES_MEDIA_FRAMEWORK_MOJO_PUBLISHER_H_ 5 #ifndef SERVICES_MEDIA_COMMON_MOJO_PUBLISHER_H_
6 #define SERVICES_MEDIA_FRAMEWORK_MOJO_PUBLISHER_H_ 6 #define SERVICES_MEDIA_COMMON_MOJO_PUBLISHER_H_
7 7
8 #include <functional> 8 #include <functional>
9 #include <vector> 9 #include <vector>
10 10
11 namespace mojo { 11 namespace mojo {
12 namespace media { 12 namespace media {
13 13
14 // Implements pull mode publishing (e.g. MediaPlayer::GetStatus). 14 // Implements pull mode publishing (e.g. MediaPlayer::GetStatus).
15 template <typename TCallback> 15 template <typename TCallback>
16 class MojoPublisher { 16 class MojoPublisher {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 private: 56 private:
57 uint64_t version_ = 1u; 57 uint64_t version_ = 1u;
58 std::vector<TCallback> pending_callbacks_; 58 std::vector<TCallback> pending_callbacks_;
59 CallbackRunner callback_runner_; 59 CallbackRunner callback_runner_;
60 }; 60 };
61 61
62 } // namespace media 62 } // namespace media
63 } // namespace mojo 63 } // namespace mojo
64 64
65 #endif // SERVICES_MEDIA_FRAMEWORK_MOJO_MOJO_ALLOCATOR_H_ 65 #endif // SERVICES_MEDIA_COMMON_MOJO_PUBLISHER_H_
OLDNEW
« no previous file with comments | « services/media/common/BUILD.gn ('k') | services/media/common/rate_control_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698