blob: 195bde871189c7212bad7dc4c7cb2bfeb7e2f7e9 [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>
28 <!-- Deprecate GetTrack and SetTrack after updating the clients -->
Satoru Takabayashi583667b2010-10-27 13:09:57 +090029 <method name="GetTrack">
30 <arg type="s" name="track" direction="out" />
31 </method>
Darin Petkov8daa3242010-10-25 13:28:47 -070032 <method name="SetTrack">
33 <arg type="s" name="track" />
34 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070035 <method name="SetChannel">
36 <arg type="s" name="target_channel" />
37 <arg type="b" name="is_powerwash_allowed" />
38 </method>
39 <method name="GetChannel">
40 <arg type="b" name="get_current_channel" />
41 <arg type="s" name="channel" direction="out" />
42 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070043 <signal name="StatusUpdate">
44 <arg type="x" name="last_checked_time" />
45 <arg type="d" name="progress" />
46 <arg type="s" name="current_operation" />
47 <arg type="s" name="new_version" />
48 <arg type="x" name="new_size" />
49 </signal>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070050 </interface>
51</node>