Chromium Code Reviews| Index: content/child/scheduler/null_idle_task_runner.h |
| diff --git a/content/common/gpu/media/vp8_picture.h b/content/child/scheduler/null_idle_task_runner.h |
| similarity index 33% |
| copy from content/common/gpu/media/vp8_picture.h |
| copy to content/child/scheduler/null_idle_task_runner.h |
| index 1187698e7a70ce1c5920b53a0ce101f19ef6a464..c722775ec8116f32c9c28be134921b05c16a7d12 100644 |
| --- a/content/common/gpu/media/vp8_picture.h |
| +++ b/content/child/scheduler/null_idle_task_runner.h |
| @@ -2,28 +2,23 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ |
| -#define CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ |
| +#ifndef CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_ |
| +#define CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_ |
| -#include "base/memory/ref_counted.h" |
| +#include "content/child/scheduler/single_thread_idle_task_runner.h" |
| namespace content { |
| -class V4L2VP8Picture; |
| - |
| -class VP8Picture : public base::RefCounted<VP8Picture> { |
| +class NullIdleTaskRunner : public SingleThreadIdleTaskRunner { |
| public: |
| - VP8Picture(); |
| - |
| - virtual V4L2VP8Picture* AsV4L2VP8Picture(); |
| + NullIdleTaskRunner(); |
| + void PostIdleTask(const tracked_objects::Location& from_here, |
| + const IdleTask& idle_task) override; |
| protected: |
| - friend class base::RefCounted<VP8Picture>; |
| - virtual ~VP8Picture(); |
| - |
| - DISALLOW_COPY_AND_ASSIGN(VP8Picture); |
| + ~NullIdleTaskRunner() override; |
| }; |
|
Sami
2015/03/27 17:22:27
DISALLOW_COPY_AND_ASSIGN(NullIdleTaskRunner);
alex clarke (OOO till 29th)
2015/03/27 17:38:51
Done.
|
| } // namespace content |
| -#endif // CONTENT_COMMON_GPU_MEDIA_VP8_PICTURE_H_ |
| +#endif // CONTENT_CHILD_SCHEDULER_NULL_IDLE_TASK_RUNNER_H_ |