| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- COPYRIGHT HERE |
| dbus-binding-tool -mode=glib-server -prefix=update_engine update_engine.xml |
| > glib_server.h |
| --> |
| <node name="/org/chromium"> |
| <interface name="org.chromium.UpdateEngineInterface"> |
| <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
| value="update_engine_service"/> |
| <method name="AttemptUpdate"> |
| <arg type="s" name="app_version" /> |
| <arg type="s" name="omaha_url" /> |
| </method> |
| <method name="ResetStatus"> |
| </method> |
| <method name="GetStatus"> |
| <arg type="x" name="last_checked_time" direction="out" /> |
| <arg type="d" name="progress" direction="out" /> |
| <arg type="s" name="current_operation" direction="out" /> |
| <arg type="s" name="new_version" direction="out" /> |
| <arg type="x" name="new_size" direction="out" /> |
| </method> |
| <method name="RebootIfNeeded"> |
| </method> |
| <!-- Deprecate GetTrack and SetTrack after updating the clients --> |
| <method name="GetTrack"> |
| <arg type="s" name="track" direction="out" /> |
| </method> |
| <method name="SetTrack"> |
| <arg type="s" name="track" /> |
| </method> |
| <method name="SetChannel"> |
| <arg type="s" name="target_channel" /> |
| <arg type="b" name="is_powerwash_allowed" /> |
| </method> |
| <method name="GetChannel"> |
| <arg type="b" name="get_current_channel" /> |
| <arg type="s" name="channel" direction="out" /> |
| </method> |
| <signal name="StatusUpdate"> |
| <arg type="x" name="last_checked_time" /> |
| <arg type="d" name="progress" /> |
| <arg type="s" name="current_operation" /> |
| <arg type="s" name="new_version" /> |
| <arg type="x" name="new_size" /> |
| </signal> |
| </interface> |
| </node> |