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

Unified Diff: services/ui/gpu/gpu_main.h

Issue 2338483003: Revert of services/ui: Use new gpu::GpuInit to do the GPU initialization. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/gpu/BUILD.gn ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.h
diff --git a/services/ui/gpu/gpu_main.h b/services/ui/gpu/gpu_main.h
deleted file mode 100644
index ffcf8c01a0203a070c251bac1894d28541764ab8..0000000000000000000000000000000000000000
--- a/services/ui/gpu/gpu_main.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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 SERVICES_UI_GPU_GPU_MAIN_H_
-#define SERVICES_UI_GPU_GPU_MAIN_H_
-
-#include "gpu/ipc/service/gpu_init.h"
-#include "services/ui/gpu/interfaces/gpu_service_internal.mojom.h"
-
-namespace gpu {
-class GpuMemoryBufferFactory;
-}
-
-namespace ui {
-
-class GpuServiceInternal;
-
-class GpuMain : public gpu::GpuSandboxHelper {
- public:
- GpuMain();
- ~GpuMain() override;
-
- void Add(mojom::GpuServiceInternalRequest request);
-
- GpuServiceInternal* gpu_service() { return gpu_service_internal_.get(); }
-
- private:
- // gpu::GpuSandboxHelper:
- void PreSandboxStartup() override;
- bool EnsureSandboxInitialized() override;
-
- std::unique_ptr<GpuServiceInternal> gpu_service_internal_;
- gpu::GpuInit gpu_init_;
- std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuMain);
-};
-
-} // namespace ui
-
-#endif // SERVICES_UI_GPU_GPU_MAIN_H_
« no previous file with comments | « services/ui/gpu/BUILD.gn ('k') | services/ui/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698