blob: ad6c36bef6f45dba418deeb4f743df64656e4b00 [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>
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070029 <method name="ResetStatus">
30 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070031 <method name="GetStatus">
32 <arg type="x" name="last_checked_time" direction="out" />
33 <arg type="d" name="progress" direction="out" />
34 <arg type="s" name="current_operation" direction="out" />
35 <arg type="s" name="new_version" direction="out" />
36 <arg type="x" name="new_size" direction="out" />
37 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070038 <method name="RebootIfNeeded">
39 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070040 <method name="SetChannel">
41 <arg type="s" name="target_channel" />
42 <arg type="b" name="is_powerwash_allowed" />
43 </method>
44 <method name="GetChannel">
45 <arg type="b" name="get_current_channel" />
46 <arg type="s" name="channel" direction="out" />
47 </method>
Alex Deymo5fdf7762013-07-17 20:01:40 -070048 <method name="SetP2PUpdatePermission">
49 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
50 value="update_engine_service_set_p2p_update_permission"/>
Alex Deymo36dc2f32013-08-29 15:45:06 -070051 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
52 value="update_engine_client_set_p2p_update_permission"/>
Alex Deymo5fdf7762013-07-17 20:01:40 -070053 <arg type="b" name="enabled" />
54 </method>
55 <method name="GetP2PUpdatePermission">
56 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
57 value="update_engine_service_get_p2p_update_permission"/>
Alex Deymo36dc2f32013-08-29 15:45:06 -070058 <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol"
59 value="update_engine_client_get_p2p_update_permission"/>
Alex Deymo5fdf7762013-07-17 20:01:40 -070060 <arg type="b" name="enabled" direction="out" />
61 </method>
Alex Deymof4867c42013-06-28 14:41:39 -070062 <method name="SetUpdateOverCellularPermission">
63 <arg type="b" name="allowed" />
64 </method>
65 <method name="GetUpdateOverCellularPermission">
66 <arg type="b" name="allowed" direction="out" />
67 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070068 <signal name="StatusUpdate">
69 <arg type="x" name="last_checked_time" />
70 <arg type="d" name="progress" />
71 <arg type="s" name="current_operation" />
72 <arg type="s" name="new_version" />
73 <arg type="x" name="new_size" />
74 </signal>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070075 </interface>
76</node>