Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: update_engine.xml

Issue 3034026: AU: Provide a reboot_if_needed D-Bus API. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: reboot error code doesn't necessarily signal a problem. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « update_attempter.cc ('k') | update_engine_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_engine.xml
diff --git a/update_engine.xml b/update_engine.xml
index 9cd9d42f7eb1346d3029740a07353f4e3683c679..5f2075165ecdcc09a13358d5def4f6fa351212eb 100644
--- a/update_engine.xml
+++ b/update_engine.xml
@@ -7,6 +7,12 @@
<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="CheckForUpdate">
+ </method>
<method name="GetStatus">
<arg type="x" name="last_checked_time" direction="out" />
<arg type="d" name="progress" direction="out" />
@@ -14,11 +20,7 @@
<arg type="s" name="new_version" direction="out" />
<arg type="x" name="new_size" direction="out" />
</method>
- <method name="CheckForUpdate">
- </method>
- <method name="AttemptUpdate">
- <arg type="s" name="app_version" />
- <arg type="s" name="omaha_url" />
+ <method name="RebootIfNeeded">
</method>
<signal name="StatusUpdate">
<arg type="x" name="last_checked_time" />
« no previous file with comments | « update_attempter.cc ('k') | update_engine_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698