blob: 5e94198f43b09bdb7796485b22c0fc164b1dbf8f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2010 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.
dbus-binding-tool -mode=glib-server -prefix=session_manager session_manager.xml
&gt; bindings/server.h
-->
<node name="/org/chromium/">
<interface name="org.chromium.SessionManagerInterface">
<annotation name="org.freedesktop.DBus.GLib.CSymbol"
value="session_manager"/>
<method name="EmitLoginPromptReady">
<arg type="b" name="emitted" direction="out" />
</method>
<method name="EmitLoginPromptVisible">
</method>
<method name="EnableChromeTesting">
<arg type="b" name="force_relaunch" direction="in" />
<arg type="as" name="extra_arguments" direction="in" />
<arg type="s" name="filepath" direction="out" />
</method>
<method name="StartSession">
<!-- Meant to be human-readable -->
<arg type="s" name="email_address" direction="in" />
<!-- Meant to be machine-readable, unused for now -->
<arg type="s" name="unique_identifier" direction="in" />
<arg type="b" name="done" direction="out" />
</method>
<method name="StopSession">
<!-- Meant to be machine-readable, unused for now -->
<arg type="s" name="unique_identifier" direction="in" />
<arg type="b" name="done" direction="out" />
</method>
<method name="SetOwnerKey">
<arg type="ay" name="public_key_der" direction="in" />
</method>
<method name="CheckWhitelist">
<arg type="s" name="email_address" direction="in" />
<arg type="ay" name="signature" direction="out" />
</method>
<method name="EnumerateWhitelisted">
<arg type="as" name="whitelist" direction="out" />
</method>
<method name="Unwhitelist">
<arg type="s" name="email_address" direction="in" />
<arg type="ay" name="signature" direction="in" />
</method>
<method name="Whitelist">
<arg type="s" name="email_address" direction="in" />
<arg type="ay" name="signature" direction="in" />
</method>
<method name="StoreProperty">
<arg type="s" name="name" direction="in" />
<arg type="s" name="value" direction="in" />
<arg type="ay" name="signature" direction="in" />
</method>
<method name="RetrieveProperty">
<arg type="s" name="name" direction="in" />
<arg type="s" name="value" direction="out" />
<arg type="ay" name="signature" direction="out" />
</method>
<method name="RestartEntd">
</method>
<signal name="SessionStateChanged">
<!-- started, stopped -->
<arg type="s" name="state" />
<!-- user whose session is starting or stopping (empty for guest) -->
<arg type="s" name="user" />
</signal>
<method name="LockScreen">
<!-- Lock screen -->
</method>
<method name="UnlockScreen">
<!-- Unlock screen -->
</method>
<method name="RestartJob">
<!-- PID of the job to restart -->
<arg type="i" name="pid" direction="in" />
<!-- Command line arguments to restart the job with -->
<arg type="s" name="command_line" direction="in" />
<arg type="b" name="done" direction="out" />
</method>
</interface>
</node>