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

Unified Diff: components/network_hints/public/cpp/network_hints.typemap

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address sammc's review comments Created 4 years, 5 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
Index: components/network_hints/public/cpp/network_hints.typemap
diff --git a/ui/events/devices/mojo/input_device.typemap b/components/network_hints/public/cpp/network_hints.typemap
similarity index 32%
copy from ui/events/devices/mojo/input_device.typemap
copy to components/network_hints/public/cpp/network_hints.typemap
index 2296d7a17b8f5e66da908de3ccc08717278c49ac..40be200ad227c1f13667b374089599cb4f7099f2 100644
--- a/ui/events/devices/mojo/input_device.typemap
+++ b/components/network_hints/public/cpp/network_hints.typemap
@@ -2,24 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-mojom = "//ui/events/devices/mojo/input_devices.mojom"
-public_headers = [
- "//ui/events/devices/input_device.h",
- "//ui/events/devices/touchscreen_device.h",
-]
-traits_headers = [ "//ui/events/devices/mojo/input_device_struct_traits.h" ]
-sources = [
- "//ui/events/devices/mojo/input_device_struct_traits.cc",
-]
-public_deps = [
- "//ui/events/devices",
-]
+mojom = "//components/network_hints/public/interfaces/network_hints.mojom"
+public_headers = [ "//components/network_hints/common/network_hints_common.h" ]
+traits_headers =
+ [ "//components/network_hints/public/cpp/network_hints_param_traits.h" ]
deps = [
- "//ui/gfx/geometry",
-]
-
-type_mappings = [
- "ui.mojom.InputDeviceType=ui::InputDeviceType",
- "ui.mojom.InputDevice=ui::InputDevice",
- "ui.mojom.TouchscreenDevice=ui::TouchscreenDevice",
+ "//components/network_hints/common",
+ "//components/network_hints/public/cpp",
+ "//ipc",
+ "//url/ipc:url_ipc",
]
+type_mappings =
+ [ "network_hints.mojom.LookupRequest=::network_hints::LookupRequest" ]

Powered by Google App Engine
This is Rietveld 408576698