| Index: services/ui/public/cpp/raster_thread_helper.h
|
| diff --git a/services/ui/public/cpp/raster_thread_helper.h b/services/ui/public/cpp/raster_thread_helper.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8db3e658de9d6b2f01a59bf9dd395d2cedc88dc1
|
| --- /dev/null
|
| +++ b/services/ui/public/cpp/raster_thread_helper.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
|
| +#define SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
|
| +
|
| +#include <memory>
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +namespace cc {
|
| +class TaskGraphRunner;
|
| +class SingleThreadTaskGraphRunner;
|
| +}
|
| +
|
| +namespace ui {
|
| +
|
| +class RasterThreadHelper {
|
| + public:
|
| + RasterThreadHelper();
|
| + ~RasterThreadHelper();
|
| +
|
| + cc::TaskGraphRunner* task_graph_runner();
|
| +
|
| + private:
|
| + std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(RasterThreadHelper);
|
| +};
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // SERVICES_UI_PUBLIC_CPP_RASTER_THREAD_HELPER_H_
|
|
|