| <?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/DlpFilesPolicyService" | |
| xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> | |
| <interface name="org.chromium.DlpFilesPolicyService"> | |
| <method name="IsDlpPolicyMatched"> | |
| <tp:docstring> | |
| Returns whether a file from the given source could be restricted by any of files | |
| restrictions in Data Leak Prevention policy. | |
| </tp:docstring> | |
| <arg name="request" type="ay" direction="in"> | |
| Serialized IsDlpPolicyMatchedRequest message. | |
| </arg> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized IsDlpPolicyMatchedResponse message. | |
| </arg> | |
| </method> | |
| <method name="IsFilesTransferRestricted"> | |
| <tp:docstring> | |
| Returns the source of files which are restricted to be transferred to the given destination according | |
| to restrictions in Data Leak Prevention policy. | |
| </tp:docstring> | |
| <arg name="request" type="ay" direction="in"> | |
| Serialized IsFilesTransferRestrictedRequest message. | |
| </arg> | |
| <arg name="response" type="ay" direction="out"> | |
| Serialized IsFilesTransferRestrictedResponse message. | |
| </arg> | |
| </method> | |
| </interface> | |
| </node> |