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.
5 #ifndef COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_
6 #define COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_
8 #include "base/memory/scoped_ptr.h"
11 class TaskGraphRunner
;
16 class RasterThreadHelper
{
19 ~RasterThreadHelper();
21 cc::TaskGraphRunner
* task_graph_runner() { return task_graph_runner_
.get(); }
26 scoped_ptr
<cc::TaskGraphRunner
> task_graph_runner_
;
27 scoped_ptr
<RasterThread
> raster_thread_
;
29 DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper
);
34 #endif // COMPONENTS_MUS_GLES2_RASTER_THREAD_HELPER_H_