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

Side by Side Diff: services/media/framework/parts/null_sink.cc

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
« no previous file with comments | « services/media/framework/parts/null_sink.h ('k') | services/media/framework/parts/reader.h » ('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 #include "services/media/framework/parts/null_sink.h" 5 #include "services/media/framework/parts/null_sink.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 namespace media { 8 namespace media {
9 9
10 NullSink::NullSink() {} 10 NullSink::NullSink() {}
11 11
12 NullSink::~NullSink() {} 12 NullSink::~NullSink() {}
13 13
14 PayloadAllocator* NullSink::allocator() { 14 PayloadAllocator* NullSink::allocator() {
15 return nullptr; 15 return nullptr;
16 } 16 }
17 17
18 void NullSink::SetDemandCallback(const DemandCallback& demand_callback) { 18 void NullSink::SetDemandCallback(const DemandCallback& demand_callback) {
19 demand_callback_ = demand_callback; 19 demand_callback_ = demand_callback;
20 } 20 }
21 21
22 Demand NullSink::SupplyPacket(PacketPtr packet) { 22 Demand NullSink::SupplyPacket(PacketPtr packet) {
23 return Demand::kNeutral; 23 return Demand::kNeutral;
24 } 24 }
25 25
26 } // namespace media 26 } // namespace media
27 } // namespace mojo 27 } // namespace mojo
OLDNEW
« no previous file with comments | « services/media/framework/parts/null_sink.h ('k') | services/media/framework/parts/reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698