blob: 7ed8e31206a0aef1a79e037b4b5e73e6fcdce82b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2021 The Chromium OS 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/Dlp"
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.chromium.Dlp">
<method name="SetDlpFilesPolicy">
<tp:docstring>
Sets the Data Leak Prevention files policy.
</tp:docstring>
<arg name="request" type="ay" direction="in">
Serialized SetDlpFilesPolicyRequest message.
</arg>
<arg name="response" type="ay" direction="out">
Serialized SetDlpFilesPolicyResponse message.
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple" />
</method>
<method name="AddFile">
<tp:docstring>
Adds file together with it's source to the database.
</tp:docstring>
<arg name="request" type="ay" direction="in">
Serialized AddFileRequest message.
</arg>
<arg name="response" type="ay" direction="out">
Serialized AddFileResponse message.
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="simple" />
</method>
<method name="RequestFileAccess">
<tp:docstring>
Requests access to the file to be copied/uploaded to the given destination.
</tp:docstring>
<arg name="request" type="ay" direction="in">
Serialized RequestFileAccessRequest message.
</arg>
<arg name="response" type="ay" direction="out">
Serialized RequestFileAccessResponse message.
</arg>
<arg name="lifeline_fd" type="h" direction="out">
|lifeline_fd| is a file descriptor by which the clients can manage the
lifetime of the approved requests. Closing it will revoke the approval.
|lifeline_fd| is already closed if the request was not allowed.
</arg>
<annotation name="org.chromium.DBus.Method.Kind" value="async" />
</method>
</interface>
</node>