| Index: services/media/framework/engine.h
|
| diff --git a/services/media/framework/engine.h b/services/media/framework/engine.h
|
| index aba8eb76592fad1b077ef7cb141a18fab1af20c0..12fb35a092987f6802ff02e02a85597b7c8186a5 100644
|
| --- a/services/media/framework/engine.h
|
| +++ b/services/media/framework/engine.h
|
| @@ -107,28 +107,25 @@ class Engine {
|
| void PushToDemandBacklog(Stage* stage);
|
|
|
| private:
|
| - using UpstreamVisitor = std::function<void(
|
| - const InputRef& input,
|
| - const OutputRef& output,
|
| - const Stage::UpstreamCallback& callback)>;
|
| - using DownstreamVisitor = std::function<void(
|
| - const OutputRef& output,
|
| - const InputRef& input,
|
| - const Stage::DownstreamCallback& callback)>;
|
| -
|
| - void VisitUpstream(
|
| - const InputRef& input,
|
| - const UpstreamVisitor& vistor);
|
| -
|
| - void VisitDownstream(
|
| - const OutputRef& output,
|
| - const DownstreamVisitor& vistor);
|
| + using UpstreamVisitor =
|
| + std::function<void(const InputRef& input,
|
| + const OutputRef& output,
|
| + const Stage::UpstreamCallback& callback)>;
|
| + using DownstreamVisitor =
|
| + std::function<void(const OutputRef& output,
|
| + const InputRef& input,
|
| + const Stage::DownstreamCallback& callback)>;
|
| +
|
| + void VisitUpstream(const InputRef& input, const UpstreamVisitor& vistor);
|
| +
|
| + void VisitDownstream(const OutputRef& output,
|
| + const DownstreamVisitor& vistor);
|
|
|
| // Processes the entire backlog.
|
| void Update();
|
|
|
| // Performs processing for a single stage, updating the backlog accordingly.
|
| - void Update(Stage *stage);
|
| + void Update(Stage* stage);
|
|
|
| // Pops a stage from the supply backlog and returns it or returns nullptr if
|
| // the supply backlog is empty.
|
|
|