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

Unified Diff: services/ui/common/gpu_type_converters.h

Issue 2247183005: services/ui: Get rid of IPC::ChannelHandle type converter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 4 years, 4 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 | « no previous file | services/ui/common/gpu_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/gpu_type_converters.h
diff --git a/services/ui/common/gpu_type_converters.h b/services/ui/common/gpu_type_converters.h
index 8a24d6662574fbe46f250e74f4f79d87b2132bdf..ba1a75e1640cf6aa2f42415da41616bfff342623 100644
--- a/services/ui/common/gpu_type_converters.h
+++ b/services/ui/common/gpu_type_converters.h
@@ -8,7 +8,6 @@
#include "build/build_config.h"
#include "mojo/public/cpp/bindings/type_converter.h"
#include "services/ui/common/mus_common_export.h"
-#include "services/ui/public/interfaces/channel_handle.mojom.h"
#include "services/ui/public/interfaces/gpu_memory_buffer.mojom.h"
namespace gfx {
@@ -18,28 +17,8 @@ using GpuMemoryBufferId = GenericSharedMemoryId;
struct NativePixmapHandle;
}
-namespace gpu {
-struct GPUInfo;
-}
-
-namespace IPC {
-struct ChannelHandle;
-}
-
namespace mojo {
-template <>
-struct MUS_COMMON_EXPORT
- TypeConverter<ui::mojom::ChannelHandlePtr, IPC::ChannelHandle> {
- static ui::mojom::ChannelHandlePtr Convert(const IPC::ChannelHandle& handle);
-};
-
-template <>
-struct MUS_COMMON_EXPORT
- TypeConverter<IPC::ChannelHandle, ui::mojom::ChannelHandlePtr> {
- static IPC::ChannelHandle Convert(const ui::mojom::ChannelHandlePtr& handle);
-};
-
#if defined(USE_OZONE)
template <>
struct MUS_COMMON_EXPORT
« no previous file with comments | « no previous file | services/ui/common/gpu_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698