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

Side by Side Diff: services/media/framework/util/callback_joiner.h

Issue 2097953002: Motown: Rename MediaProducer/Consumer to MediaPacketProducer/Consumer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed #ifndef guards Created 4 years, 5 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/framework/models/transform.h ('k') | services/media/framework_mojo/BUILD.gn » ('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 MOJO_SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_ 5 #ifndef SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_
6 #define MOJO_SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_ 6 #define SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "mojo/public/cpp/bindings/callback.h" 11 #include "mojo/public/cpp/bindings/callback.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace media { 14 namespace media {
15 15
16 // CallbackJoiner is used to take action after multiple 'child' operations are 16 // CallbackJoiner is used to take action after multiple 'child' operations are
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 private: 117 private:
118 size_t counter_ = 0; 118 size_t counter_ = 0;
119 Callback<void()> join_callback_; 119 Callback<void()> join_callback_;
120 }; 120 };
121 121
122 } // namespace media 122 } // namespace media
123 } // namespace mojo 123 } // namespace mojo
124 124
125 #endif // MOJO_SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_ 125 #endif // SERVICES_MEDIA_FRAMEWORK_UTIL_CALLBACK_JOINER_H_
OLDNEW
« no previous file with comments | « services/media/framework/models/transform.h ('k') | services/media/framework_mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698