blob: 964ea6216720fdf789d069b8b0aded3aad944eb2 [file] [log] [blame]
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -07001<?xml version="1.0" encoding="UTF-8" ?>
2<!-- COPYRIGHT HERE
3 dbus-binding-tool -mode=glib-server -prefix=update_engine update_engine.xml
4 &gt; glib_server.h
5-->
6<node name="/org/chromium">
7 <interface name="org.chromium.UpdateEngineInterface">
8 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
9 value="update_engine_service"/>
Alex Deymo36dc2f32013-08-29 15:45:06 -070010 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
11 value="update_engine_client"/>
Darin Petkov296889c2010-07-23 16:20:54 -070012 <method name="AttemptUpdate">
13 <arg type="s" name="app_version" />
14 <arg type="s" name="omaha_url" />
15 </method>
David Zeuthen75a4c3e2013-09-06 11:36:59 -070016 <!-- TODO(zeuthen,chromium:286399): Rename to AttemptUpdate and
17 update Chrome and other users of the AttemptUpdate() method
18 in lockstep.
19 -->
20 <method name="AttemptUpdateWithFlags">
21 <arg type="s" name="app_version" />
22 <arg type="s" name="omaha_url" />
23 <!-- See AttemptUpdateFlags enum in dbus_constants.h. -->
24 <arg type="i" name="flags" />
25 </method>
Chris Sosad317e402013-06-12 13:47:09 -070026 <method name="AttemptRollback">
27 <arg type="b" name="powerwash" />
28 </method>
Alex Vakulenko59e253e2014-02-24 10:40:21 -080029 <method name="CanRollback">
30 <arg type="b" name="can_rollback" direction="out" />
31 </method>
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070032 <method name="ResetStatus">
33 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070034 <method name="GetStatus">
35 <arg type="x" name="last_checked_time" direction="out" />
36 <arg type="d" name="progress" direction="out" />
37 <arg type="s" name="current_operation" direction="out" />
38 <arg type="s" name="new_version" direction="out" />
39 <arg type="x" name="new_size" direction="out" />
40 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070041 <method name="RebootIfNeeded">
42 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070043 <method name="SetChannel">
44 <arg type="s" name="target_channel" />
45 <arg type="b" name="is_powerwash_allowed" />
46 </method>
47 <method name="GetChannel">
48 <arg type="b" name="get_current_channel" />
49 <arg type="s" name="channel" direction="out" />
50 </method>
Alex Deymo5fdf7762013-07-17 20:01:40 -070051 <method name="SetP2PUpdatePermission">
52 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
53 value="update_engine_service_set_p2p_update_permission"/>
Alex Deymo36dc2f32013-08-29 15:45:06 -070054 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
55 value="update_engine_client_set_p2p_update_permission"/>
Alex Deymo5fdf7762013-07-17 20:01:40 -070056 <arg type="b" name="enabled" />
57 </method>
58 <method name="GetP2PUpdatePermission">
59 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
60 value="update_engine_service_get_p2p_update_permission"/>
Alex Deymo36dc2f32013-08-29 15:45:06 -070061 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
62 value="update_engine_client_get_p2p_update_permission"/>
Alex Deymo5fdf7762013-07-17 20:01:40 -070063 <arg type="b" name="enabled" direction="out" />
64 </method>
Alex Deymof4867c42013-06-28 14:41:39 -070065 <method name="SetUpdateOverCellularPermission">
66 <arg type="b" name="allowed" />
67 </method>
68 <method name="GetUpdateOverCellularPermission">
69 <arg type="b" name="allowed" direction="out" />
70 </method>
David Zeuthen3c55abd2013-10-14 12:48:03 -070071 <method name="GetDurationSinceUpdate">
72 <arg type="x" name="usec_wallclock" direction="out" />
73 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070074 <signal name="StatusUpdate">
75 <arg type="x" name="last_checked_time" />
76 <arg type="d" name="progress" />
77 <arg type="s" name="current_operation" />
78 <arg type="s" name="new_version" />
79 <arg type="x" name="new_size" />
80 </signal>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070081 </interface>
82</node>