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

Side by Side Diff: services/media/framework/models/demand.h

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 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_MEDIA_MODELS_DEMAND_H_ 5 #ifndef MOJO_MEDIA_MODELS_DEMAND_H_
6 #define MOJO_MEDIA_MODELS_DEMAND_H_ 6 #define MOJO_MEDIA_MODELS_DEMAND_H_
7 7
8 namespace mojo { 8 namespace mojo {
9 namespace media { 9 namespace media {
10 10
11 // Expresses packet demand for signalling upstream in a graph. 11 // Expresses packet demand for signalling upstream in a graph.
12 enum class Demand { 12 enum class Demand {
13 // Ordered such that (kNegative < kNeutral < kPositive). 13 // Ordered such that (kNegative < kNeutral < kPositive).
14 14
15 // No packet can currently be accepted. 15 // No packet can currently be accepted.
16 kNegative = -1, 16 kNegative = -1,
17 17
18 // A packet can be accepted but is not required to meet timing constraints. 18 // A packet can be accepted but is not required to meet timing constraints.
19 kNeutral = 0, 19 kNeutral = 0,
20 20
21 // A packet is required to meet timing constraints. 21 // A packet is required to meet timing constraints.
22 kPositive = 1 22 kPositive = 1
23 }; 23 };
24 24
25 } // namespace media 25 } // namespace media
26 } // namespace mojo 26 } // namespace mojo
27 27
28 #endif // MOJO_MEDIA_MODELS_DEMAND_H_ 28 #endif // MOJO_MEDIA_MODELS_DEMAND_H_
OLDNEW
« no previous file with comments | « services/media/framework/models/active_source.h ('k') | services/media/framework/models/multistream_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698