| Index: gpu/ipc/service/gpu_init.h
|
| diff --git a/gpu/ipc/service/gpu_init.h b/gpu/ipc/service/gpu_init.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3d2aa67e91ead0279f000a09efb8a7ace3e74fab
|
| --- /dev/null
|
| +++ b/gpu/ipc/service/gpu_init.h
|
| @@ -0,0 +1,41 @@
|
| +// Copyright 2016 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 GPU_IPC_SERVICE_GPU_INIT_H_
|
| +#define GPU_IPC_SERVICE_GPU_INIT_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "gpu/gpu_export.h"
|
| +
|
| +namespace base {
|
| +class CommandLine;
|
| +class Time;
|
| +}
|
| +
|
| +namespace gpu {
|
| +
|
| +class GpuInitDelegate;
|
| +class GpuMemoryBufferFactory;
|
| +class GpuWatchdogThread;
|
| +struct GPUInfo;
|
| +
|
| +class GPU_EXPORT GpuInit {
|
| + public:
|
| + GpuInit(GpuInitDelegate* delegate, const base::CommandLine& command_line);
|
| + ~GpuInit();
|
| +
|
| + private:
|
| + GpuInitDelegate* delegate_;
|
| + scoped_refptr<GpuWatchdogThread> watchdog_thread_;
|
| + std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(GpuInit);
|
| +};
|
| +
|
| +} // namespace gpu
|
| +
|
| +#endif // GPU_IPC_SERVICE_GPU_INIT_H_
|
|
|