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

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

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 #ifndef CHROMECAST_MEDIA_CMA_FILTERS_DUMMY_MEDIA_TASK_RUNNER_H_
6 #define CHROMECAST_MEDIA_CMA_FILTERS_DUMMY_MEDIA_TASK_RUNNER_H_
7
8 #include "chromecast/media/cma/base/media_task_runner.h"
9
10 namespace base {
11 class SingleThreadTaskRunner;
12 } // namespace base
13
14 namespace chromecast {
15 namespace media {
16
17 class DummyMediaTaskRunner : public MediaTaskRunner {
18 public:
19 DummyMediaTaskRunner(
20 const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
21
22 // MediaTaskRunner implementation.
23 bool PostMediaTask(
24 const tracked_objects::Location& from_here,
25 const base::Closure& task,
26 base::TimeDelta timestamp) override;
27
28 private:
29 ~DummyMediaTaskRunner() override;
30
31 scoped_refptr<base::SingleThreadTaskRunner> const task_runner_;
32
33 DISALLOW_COPY_AND_ASSIGN(DummyMediaTaskRunner);
34 };
35
36 } // namespace media
37 } // namespace chromecast
38
39 #endif // CHROMECAST_MEDIA_CMA_FILTERS_DUMMY_MEDIA_TASK_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698