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

Side by Side Diff: content/child/scheduler/null_idle_task_runner.h

Issue 1025323003: Introduce a SchedulerHelper in content/child/scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ross's suggestions Created 5 years, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 5 #ifndef CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
6 #define CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 6 #define CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "content/child/scheduler/single_thread_idle_task_runner.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class V4L2VP8Picture; 12 class NullIdleTaskRunner : public SingleThreadIdleTaskRunner {
13
14 class VP8Picture : public base::RefCounted<VP8Picture> {
15 public: 13 public:
16 VP8Picture(); 14 NullIdleTaskRunner();
17 15 void PostIdleTask(const tracked_objects::Location& from_here,
18 virtual V4L2VP8Picture* AsV4L2VP8Picture(); 16 const IdleTask& idle_task) override;
19 17
20 protected: 18 protected:
21 friend class base::RefCounted<VP8Picture>; 19 ~NullIdleTaskRunner() override;
22 virtual ~VP8Picture();
23
24 DISALLOW_COPY_AND_ASSIGN(VP8Picture);
25 }; 20 };
Sami 2015/03/27 17:22:27 DISALLOW_COPY_AND_ASSIGN(NullIdleTaskRunner);
alex clarke (OOO till 29th) 2015/03/27 17:38:51 Done.
26 21
27 } // namespace content 22 } // namespace content
28 23
29 #endif // CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ 24 #endif // CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698