Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <!-- COPYRIGHT HERE |
| 3 | dbus-binding-tool -mode=glib-server -prefix=update_engine update_engine.xml |
| 4 | > 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"/> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 10 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
| 11 | value="update_engine_client"/> |
Darin Petkov | 296889c | 2010-07-23 16:20:54 -0700 | [diff] [blame] | 12 | <method name="AttemptUpdate"> |
| 13 | <arg type="s" name="app_version" /> |
| 14 | <arg type="s" name="omaha_url" /> |
| 15 | </method> |
David Zeuthen | 75a4c3e | 2013-09-06 11:36:59 -0700 | [diff] [blame] | 16 | <!-- TODO(zeuthen,chromium:286399): Rename to AttemptUpdate and |
| 17 | update Chrome and other users of the AttemptUpdate() method |
| 18 | in lockstep. |
| 19 | --> |
| 20 | <method name="AttemptUpdateWithFlags"> |
| 21 | <arg type="s" name="app_version" /> |
| 22 | <arg type="s" name="omaha_url" /> |
| 23 | <!-- See AttemptUpdateFlags enum in dbus_constants.h. --> |
| 24 | <arg type="i" name="flags" /> |
| 25 | </method> |
Chris Sosa | d317e40 | 2013-06-12 13:47:09 -0700 | [diff] [blame] | 26 | <method name="AttemptRollback"> |
| 27 | <arg type="b" name="powerwash" /> |
| 28 | </method> |
Alex Vakulenko | 59e253e | 2014-02-24 10:40:21 -0800 | [diff] [blame^] | 29 | <method name="CanRollback"> |
| 30 | <arg type="b" name="can_rollback" direction="out" /> |
| 31 | </method> |
Jay Srinivasan | c1ba09a | 2012-08-14 14:15:57 -0700 | [diff] [blame] | 32 | <method name="ResetStatus"> |
| 33 | </method> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 34 | <method name="GetStatus"> |
| 35 | <arg type="x" name="last_checked_time" direction="out" /> |
| 36 | <arg type="d" name="progress" direction="out" /> |
| 37 | <arg type="s" name="current_operation" direction="out" /> |
| 38 | <arg type="s" name="new_version" direction="out" /> |
| 39 | <arg type="x" name="new_size" direction="out" /> |
| 40 | </method> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 41 | <method name="RebootIfNeeded"> |
| 42 | </method> |
Jay Srinivasan | ae4697c | 2013-03-18 17:08:08 -0700 | [diff] [blame] | 43 | <method name="SetChannel"> |
| 44 | <arg type="s" name="target_channel" /> |
| 45 | <arg type="b" name="is_powerwash_allowed" /> |
| 46 | </method> |
| 47 | <method name="GetChannel"> |
| 48 | <arg type="b" name="get_current_channel" /> |
| 49 | <arg type="s" name="channel" direction="out" /> |
| 50 | </method> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 51 | <method name="SetP2PUpdatePermission"> |
| 52 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
| 53 | value="update_engine_service_set_p2p_update_permission"/> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 54 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
| 55 | value="update_engine_client_set_p2p_update_permission"/> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 56 | <arg type="b" name="enabled" /> |
| 57 | </method> |
| 58 | <method name="GetP2PUpdatePermission"> |
| 59 | <annotation name="org.freedesktop.DBus.GLib.CSymbol" |
| 60 | value="update_engine_service_get_p2p_update_permission"/> |
Alex Deymo | 36dc2f3 | 2013-08-29 15:45:06 -0700 | [diff] [blame] | 61 | <annotation name="org.freedesktop.DBus.GLib.ClientCSymbol" |
| 62 | value="update_engine_client_get_p2p_update_permission"/> |
Alex Deymo | 5fdf776 | 2013-07-17 20:01:40 -0700 | [diff] [blame] | 63 | <arg type="b" name="enabled" direction="out" /> |
| 64 | </method> |
Alex Deymo | f4867c4 | 2013-06-28 14:41:39 -0700 | [diff] [blame] | 65 | <method name="SetUpdateOverCellularPermission"> |
| 66 | <arg type="b" name="allowed" /> |
| 67 | </method> |
| 68 | <method name="GetUpdateOverCellularPermission"> |
| 69 | <arg type="b" name="allowed" direction="out" /> |
| 70 | </method> |
David Zeuthen | 3c55abd | 2013-10-14 12:48:03 -0700 | [diff] [blame] | 71 | <method name="GetDurationSinceUpdate"> |
| 72 | <arg type="x" name="usec_wallclock" direction="out" /> |
| 73 | </method> |
Andrew de los Reyes | 63b96d7 | 2010-05-10 13:08:54 -0700 | [diff] [blame] | 74 | <signal name="StatusUpdate"> |
| 75 | <arg type="x" name="last_checked_time" /> |
| 76 | <arg type="d" name="progress" /> |
| 77 | <arg type="s" name="current_operation" /> |
| 78 | <arg type="s" name="new_version" /> |
| 79 | <arg type="x" name="new_size" /> |
| 80 | </signal> |
Andrew de los Reyes | 4e9b9f4 | 2010-04-26 15:06:43 -0700 | [diff] [blame] | 81 | </interface> |
| 82 | </node> |