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