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

Unified Diff: dbus_service.h

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 | « UpdateEngine.conf ('k') | dbus_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus_service.h
diff --git a/dbus_service.h b/dbus_service.h
index 4b760ce615aa6cabf24cf58ee430fb4291a460bd..12c9ed15cf63f2fa5a9cb57f93cabe3864aab144 100644
--- a/dbus_service.h
+++ b/dbus_service.h
@@ -46,6 +46,14 @@ GType update_engine_service_get_type(void);
// Methods
+gboolean update_engine_service_attempt_update(UpdateEngineService* self,
+ gchar* app_version,
+ gchar* omaha_url,
+ GError **error);
+
+gboolean update_engine_service_check_for_update(UpdateEngineService* self,
+ GError **error);
+
gboolean update_engine_service_get_status(UpdateEngineService* self,
int64_t* last_checked_time,
double* progress,
@@ -54,14 +62,9 @@ gboolean update_engine_service_get_status(UpdateEngineService* self,
int64_t* new_size,
GError **error);
-gboolean update_engine_service_check_for_update(UpdateEngineService* self,
+gboolean update_engine_service_reboot_if_needed(UpdateEngineService* self,
GError **error);
-gboolean update_engine_service_attempt_update(UpdateEngineService* self,
- gchar* app_version,
- gchar* omaha_url,
- GError **error);
-
gboolean update_engine_service_emit_status_update(
UpdateEngineService* self,
gint64 last_checked_time,
« no previous file with comments | « UpdateEngine.conf ('k') | dbus_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698