Chromium Code Reviews| Index: services/media/framework/models/demand.h |
| diff --git a/services/media/framework/models/demand.h b/services/media/framework/models/demand.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..563b8408ac05ce8c00298001d63cd396a0a7582d |
| --- /dev/null |
| +++ b/services/media/framework/models/demand.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MOJO_MEDIA_MODELS_DEMAND_H_ |
| +#define MOJO_MEDIA_MODELS_DEMAND_H_ |
| + |
| +namespace mojo { |
| +namespace media { |
| + |
| +// Expresses packet demand. |
| +enum class Demand { |
| + // Ordered such that (kNegative < kNeutral < kPositive). |
|
jeffbrown
2016/02/02 05:35:47
If you intend for these values to be ordered, assi
dalesat
2016/02/02 21:46:39
Done.
|
| + kNegative, |
| + kNeutral, |
| + kPositive |
| +}; |
| + |
| +} // namespace media |
| +} // namespace mojo |
| + |
| +#endif // MOJO_MEDIA_MODELS_DEMAND_H_ |