OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chromecast/media/cma/base/simple_media_task_runner.h" | |
6 | |
7 #include "base/single_thread_task_runner.h" | |
8 | |
9 namespace chromecast { | |
10 namespace media { | |
11 | |
12 SimpleMediaTaskRunner::SimpleMediaTaskRunner( | |
13 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) | |
14 : task_runner_(task_runner) { | |
gunsch
2015/06/05 20:15:30
style nit: indentation
probably run "git cl forma
erickung1
2015/06/05 22:22:16
Done.
| |
15 } | |
16 | |
17 SimpleMediaTaskRunner::~SimpleMediaTaskRunner() { | |
18 } | |
19 | |
20 bool SimpleMediaTaskRunner::PostMediaTask( | |
21 const tracked_objects::Location& from_here, | |
22 const base::Closure& task, | |
23 base::TimeDelta timestamp) { | |
24 return task_runner_->PostTask(from_here, task); | |
25 } | |
26 | |
27 } // namespace media | |
28 } // namespace chromecast | |
OLD | NEW |