blob: 0d9f895a6e29f7a41852f62a4d2835514a9e1fb7 [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"/>
Darin Petkov296889c2010-07-23 16:20:54 -070010 <method name="AttemptUpdate">
11 <arg type="s" name="app_version" />
12 <arg type="s" name="omaha_url" />
13 </method>
Chris Sosad317e402013-06-12 13:47:09 -070014 <method name="AttemptRollback">
15 <arg type="b" name="powerwash" />
16 </method>
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070017 <method name="ResetStatus">
18 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070019 <method name="GetStatus">
20 <arg type="x" name="last_checked_time" direction="out" />
21 <arg type="d" name="progress" direction="out" />
22 <arg type="s" name="current_operation" direction="out" />
23 <arg type="s" name="new_version" direction="out" />
24 <arg type="x" name="new_size" direction="out" />
25 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070026 <method name="RebootIfNeeded">
27 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070028 <method name="SetChannel">
29 <arg type="s" name="target_channel" />
30 <arg type="b" name="is_powerwash_allowed" />
31 </method>
32 <method name="GetChannel">
33 <arg type="b" name="get_current_channel" />
34 <arg type="s" name="channel" direction="out" />
35 </method>
Alex Deymo5fdf7762013-07-17 20:01:40 -070036 <method name="SetP2PUpdatePermission">
37 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
38 value="update_engine_service_set_p2p_update_permission"/>
39 <arg type="b" name="enabled" />
40 </method>
41 <method name="GetP2PUpdatePermission">
42 <annotation name="org.freedesktop.DBus.GLib.CSymbol"
43 value="update_engine_service_get_p2p_update_permission"/>
44 <arg type="b" name="enabled" direction="out" />
45 </method>
Alex Deymof4867c42013-06-28 14:41:39 -070046 <method name="SetUpdateOverCellularPermission">
47 <arg type="b" name="allowed" />
48 </method>
49 <method name="GetUpdateOverCellularPermission">
50 <arg type="b" name="allowed" direction="out" />
51 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070052 <signal name="StatusUpdate">
53 <arg type="x" name="last_checked_time" />
54 <arg type="d" name="progress" />
55 <arg type="s" name="current_operation" />
56 <arg type="s" name="new_version" />
57 <arg type="x" name="new_size" />
58 </signal>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070059 </interface>
60</node>