| <?xml version="1.0" encoding="UTF-8" ?> | |
| <!-- | |
| Copyright 2021 The ChromiumOS Authors | |
| 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="AddFiles"> | |
| <tp:docstring> | |
| Adds files together with their sources to the database. | |
| Rejects request if one of the resolved files is not on user's home dir | |
| or created a long time ago. | |
| </tp:docstring> | |
| <arg name="request" type="ay" direction="in"> | |
| Serialized AddFilesRequest message. | |
| </arg> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized AddFilesResponse message. | |
| </arg> | |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> | |
| </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> | |
| <method name="GetFilesSources"> | |
| <tp:docstring> | |
| Returns sources for the requested files. | |
| </tp:docstring> | |
| <arg name="request" type="ay" direction="in"> | |
| Serialized GetFilesSourcesRequest message. | |
| </arg> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized GetFilesSourcesResponse message. | |
| </arg> | |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> | |
| </method> | |
| <method name="CheckFilesTransfer"> | |
| <tp:docstring> | |
| Returns files disallowed to be transferred. | |
| </tp:docstring> | |
| <arg name="request" type="ay" direction="in"> | |
| Serialized CheckFilesTransferRequest message. | |
| </arg> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized CheckFilesTransferResponse message. | |
| </arg> | |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> | |
| </method> | |
| <method name="GetDatabaseEntries"> | |
| <tp:docstring> | |
| Returns the content of the database. | |
| </tp:docstring> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized GetDatabaseEntriesResponse message. | |
| </arg> | |
| <annotation name="org.chromium.DBus.Method.Kind" value="async" /> | |
| </method> | |
| </interface> | |
| </node> |