blob: 0ce0962c1985adf43f9aa29ffc64b7dfee9d3a49 [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>
Jay Srinivasanc1ba09a2012-08-14 14:15:57 -070014 <method name="ResetStatus">
15 </method>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070016 <method name="GetStatus">
17 <arg type="x" name="last_checked_time" direction="out" />
18 <arg type="d" name="progress" direction="out" />
19 <arg type="s" name="current_operation" direction="out" />
20 <arg type="s" name="new_version" direction="out" />
21 <arg type="x" name="new_size" direction="out" />
22 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070023 <method name="RebootIfNeeded">
24 </method>
25 <!-- Deprecate GetTrack and SetTrack after updating the clients -->
Satoru Takabayashi583667b2010-10-27 13:09:57 +090026 <method name="GetTrack">
27 <arg type="s" name="track" direction="out" />
28 </method>
Darin Petkov8daa3242010-10-25 13:28:47 -070029 <method name="SetTrack">
30 <arg type="s" name="track" />
31 </method>
Jay Srinivasanae4697c2013-03-18 17:08:08 -070032 <method name="SetChannel">
33 <arg type="s" name="target_channel" />
34 <arg type="b" name="is_powerwash_allowed" />
35 </method>
36 <method name="GetChannel">
37 <arg type="b" name="get_current_channel" />
38 <arg type="s" name="channel" direction="out" />
39 </method>
Andrew de los Reyes63b96d72010-05-10 13:08:54 -070040 <signal name="StatusUpdate">
41 <arg type="x" name="last_checked_time" />
42 <arg type="d" name="progress" />
43 <arg type="s" name="current_operation" />
44 <arg type="s" name="new_version" />
45 <arg type="x" name="new_size" />
46 </signal>
Andrew de los Reyes4e9b9f42010-04-26 15:06:43 -070047 </interface>
48</node>