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

Side by Side Diff: chromecast/media/cma/base/dummy_media_task_runner.cc

Issue 1161163003: Chromecast: split DummyMediaTaskRunner class into its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
(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/dummy_media_task_runner.h"
6
7 #include "base/single_thread_task_runner.h"
8
9 namespace chromecast {
10 namespace media {
11
12 DummyMediaTaskRunner::DummyMediaTaskRunner(
13 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner)
gunsch 2015/06/05 18:09:20 Dummy sounds like it doesn't do anything. This doe
erickung1 2015/06/05 19:28:19 Done.
14 : task_runner_(task_runner) {
15 }
16
17 DummyMediaTaskRunner::~DummyMediaTaskRunner() {
18 }
19
20 bool DummyMediaTaskRunner::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
OLDNEW
« no previous file with comments | « chromecast/media/cma/base/dummy_media_task_runner.h ('k') | chromecast/media/cma/filters/demuxer_stream_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698