OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8" ?> | 1 <?xml version="1.0" encoding="UTF-8" ?> |
2 <!-- COPYRIGHT HERE | 2 <!-- COPYRIGHT HERE |
3 dbus-binding-tool -mode=glib-server -prefix=update_engine update_engine.xml | 3 dbus-binding-tool -mode=glib-server -prefix=update_engine update_engine.xml |
4 > glib_server.h | 4 > glib_server.h |
5 --> | 5 --> |
6 <node name="/org/chromium"> | 6 <node name="/org/chromium"> |
7 <interface name="org.chromium.UpdateEngineInterface"> | 7 <interface name="org.chromium.UpdateEngineInterface"> |
8 <annotation name="org.freedesktop.DBus.GLib.CSymbol" | 8 <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
9 value="update_engine_service"/> | 9 value="update_engine_service"/> |
10 <method name="AttemptUpdate"> | 10 <method name="AttemptUpdate"> |
11 <arg type="s" name="app_version" /> | 11 <arg type="s" name="app_version" /> |
12 <arg type="s" name="omaha_url" /> | 12 <arg type="s" name="omaha_url" /> |
13 </method> | 13 </method> |
14 <method name="CheckForUpdate"> | |
15 </method> | |
16 <method name="GetStatus"> | 14 <method name="GetStatus"> |
17 <arg type="x" name="last_checked_time" direction="out" /> | 15 <arg type="x" name="last_checked_time" direction="out" /> |
18 <arg type="d" name="progress" direction="out" /> | 16 <arg type="d" name="progress" direction="out" /> |
19 <arg type="s" name="current_operation" direction="out" /> | 17 <arg type="s" name="current_operation" direction="out" /> |
20 <arg type="s" name="new_version" direction="out" /> | 18 <arg type="s" name="new_version" direction="out" /> |
21 <arg type="x" name="new_size" direction="out" /> | 19 <arg type="x" name="new_size" direction="out" /> |
22 </method> | 20 </method> |
23 <method name="RebootIfNeeded"> | 21 <method name="RebootIfNeeded"> |
24 </method> | 22 </method> |
25 <signal name="StatusUpdate"> | 23 <signal name="StatusUpdate"> |
26 <arg type="x" name="last_checked_time" /> | 24 <arg type="x" name="last_checked_time" /> |
27 <arg type="d" name="progress" /> | 25 <arg type="d" name="progress" /> |
28 <arg type="s" name="current_operation" /> | 26 <arg type="s" name="current_operation" /> |
29 <arg type="s" name="new_version" /> | 27 <arg type="s" name="new_version" /> |
30 <arg type="x" name="new_size" /> | 28 <arg type="x" name="new_size" /> |
31 </signal> | 29 </signal> |
32 </interface> | 30 </interface> |
33 </node> | 31 </node> |
OLD | NEW |