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="GetStatus"> | 10 <method name="GetStatus"> |
11 <arg type="x" name="last_checked_time" direction="out" /> | 11 <arg type="x" name="last_checked_time" direction="out" /> |
12 <arg type="d" name="progress" direction="out" /> | 12 <arg type="d" name="progress" direction="out" /> |
13 <arg type="s" name="current_operation" direction="out" /> | 13 <arg type="s" name="current_operation" direction="out" /> |
14 <arg type="s" name="new_version" direction="out" /> | 14 <arg type="s" name="new_version" direction="out" /> |
15 <arg type="x" name="new_size" direction="out" /> | 15 <arg type="x" name="new_size" direction="out" /> |
16 </method> | 16 </method> |
17 <method name="CheckForUpdate"> | 17 <method name="CheckForUpdate"> |
18 </method> | 18 </method> |
| 19 <method name="AttemptUpdate"> |
| 20 <arg type="s" name="app_version" /> |
| 21 <arg type="s" name="omaha_url" /> |
| 22 </method> |
19 <signal name="StatusUpdate"> | 23 <signal name="StatusUpdate"> |
20 <arg type="x" name="last_checked_time" /> | 24 <arg type="x" name="last_checked_time" /> |
21 <arg type="d" name="progress" /> | 25 <arg type="d" name="progress" /> |
22 <arg type="s" name="current_operation" /> | 26 <arg type="s" name="current_operation" /> |
23 <arg type="s" name="new_version" /> | 27 <arg type="s" name="new_version" /> |
24 <arg type="x" name="new_size" /> | 28 <arg type="x" name="new_size" /> |
25 </signal> | 29 </signal> |
26 </interface> | 30 </interface> |
27 </node> | 31 </node> |
OLD | NEW |