blob: 03a23b9e9671812ad62dc0c713f60075ea91457e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2020 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/ArcDataSnapshotd">
<interface name="org.chromium.ArcDataSnapshotd">
<method name="GenerateKeyPair">
<tp:docstring>
Generates key pair.
Public key is stored in BootlockBox.
The method should be called before the start of user session.
</tp:docstring>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
<arg type="b" name="success" direction="out">
<tp:docstring>
Result of the operation.
</tp:docstring>
</arg>
</method>
<method name="ClearSnapshot">
<tp:docstring>
Clears snapshot.
</tp:docstring>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
<arg type="b" name="last" direction="in">
<tp:docstring>
Specifies a snapshot to clear.
If true, the last snapshot directory is cleared.
</tp:docstring>
</arg>
<arg type="b" name="success" direction="out">
<tp:docstring>
Result of the operation.
</tp:docstring>
</arg>
</method>
<method name="TakeSnapshot">
<tp:docstring>
Saves and signs a snapshot.
</tp:docstring>
<annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
<arg type="s" name="account_id" direction="in">
<tp:docstring>
Specifies an account ID of a user, that a snapshot is taken for.
The caller (Chrome) is responsible for executing this method only for
managed guest session account.
</tp:docstring>
</arg>
<arg type="b" name="success" direction="out">
<tp:docstring>
Result of the operation.
</tp:docstring>
</arg>
</method>
</interface>
</node>