Commit 0fcbe93f authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

Add to //services/network Blink typemap variants needed by p2p

This is a preliminary step to Onion souping //content/renderer/p2p.

The following typemaps got added, and listed to [1]:

- services/network/public/cpp/ip_address_for_blink.typemap
  (based on ip_address.typemap)
- services/network/public/cpp/ip_endpoint_for_blink.typemap
  (based on ip_endpoint.typemap)
- services/network/public/cpp/network_interface_for_blink.typemap
  (based on network_interface.typemap)

Additionally, the following typemap files got listed in [1] as-is:

-  services/network/public/cpp/p2p.typemap
-  services/network/public/cpp/mutable_network_traffic_annotation_tag.typemap

[1] //third_party/blink/renderer/platform/mojo/blink_typemaps.gni

BUG=787254
R=dcheng@chromium.org, haraken@chromium.org

Change-Id: Ife391517c3191bea57e41aa2a94efe091805257d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1804541Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#697050}
parent 83214f2e
# Copyright 2019 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.
mojom = "//services/network/public/mojom/ip_address.mojom"
public_headers = [ "//net/base/ip_address.h" ]
traits_headers = [ "//services/network/public/cpp/ip_address_mojom_traits.h" ]
type_mappings = [ "network.mojom.IPAddress=::net::IPAddress" ]
public_deps = [
"//net",
]
# Copyright 2019 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.
mojom = "//services/network/public/mojom/ip_endpoint.mojom"
public_headers = [ "//net/base/ip_endpoint.h" ]
traits_headers = [ "//services/network/public/cpp/ip_endpoint_mojom_traits.h" ]
type_mappings = [ "network.mojom.IPEndPoint=::net::IPEndPoint" ]
public_deps = [
"//net",
]
# Copyright 2019 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.
mojom = "//services/network/public/mojom/network_interface.mojom"
public_headers = [ "//net/base/network_interfaces.h" ]
traits_headers =
[ "//services/network/public/cpp/network_interface_mojom_traits.h" ]
public_deps = [
"//net",
]
type_mappings = [ "network.mojom.NetworkInterface=::net::NetworkInterface" ]
...@@ -7,6 +7,11 @@ typemaps = [ ...@@ -7,6 +7,11 @@ typemaps = [
"//media/mojo/mojom/audio_parameters.typemap", "//media/mojo/mojom/audio_parameters.typemap",
"//mojo/public/cpp/base/values.typemap", "//mojo/public/cpp/base/values.typemap",
"//services/network/public/cpp/http_request_headers.typemap", "//services/network/public/cpp/http_request_headers.typemap",
"//services/network/public/cpp/ip_address_for_blink.typemap",
"//services/network/public/cpp/ip_endpoint_for_blink.typemap",
"//services/network/public/cpp/network_interface_for_blink.typemap",
"//services/network/public/cpp/mutable_network_traffic_annotation_tag.typemap",
"//services/network/public/cpp/p2p.typemap",
"//third_party/blink/renderer/core/messaging/blink_cloneable_message.typemap", "//third_party/blink/renderer/core/messaging/blink_cloneable_message.typemap",
"//third_party/blink/renderer/core/messaging/blink_transferable_message.typemap", "//third_party/blink/renderer/core/messaging/blink_transferable_message.typemap",
"//third_party/blink/renderer/modules/indexeddb/indexed_db_blink.typemap", "//third_party/blink/renderer/modules/indexeddb/indexed_db_blink.typemap",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment