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

Unified Diff: services/media/framework/engine.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/media/framework/conversion_pipeline_builder.cc ('k') | services/media/framework/engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « services/media/framework/conversion_pipeline_builder.cc ('k') | services/media/framework/engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698