blob: 4897241bd9273d8495e371600f0009812086675d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
Copyright 2018 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.
<node name="/org/chromium/CrosDns"
<interface name="org.chromium.CrosDns">
<method name="SetHostnameIpMapping">
This method takes a hostname, IPv4 and IPv6 addresses and will set that
mapping in the name resolution service. Either IP address may be empty,
but not both. Currently only IPv4 is supported.
<arg name="hostname" type="s" direction="in"/>
<arg name="ipv4" type="s" direction="in"/>
<arg name="ipv6" type="s" direction="in"/>
<method name="RemoveHostnameIpMapping">
This method takes a hostname and will remove that mapping from the
name resolution service if it was previously set.
<arg name="hostname" type="s" direction="in"/>