OLD | NEW |
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ | 5 #ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ |
6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ | 6 #define CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ |
7 | 7 |
8 #include <inttypes.h> | 8 #include <inttypes.h> |
9 #include <dbus/dbus-glib.h> | 9 #include <dbus/dbus-glib.h> |
10 #include <dbus/dbus-glib-bindings.h> | 10 #include <dbus/dbus-glib-bindings.h> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 GError **error); | 52 GError **error); |
53 | 53 |
54 gboolean update_engine_service_get_status(UpdateEngineService* self, | 54 gboolean update_engine_service_get_status(UpdateEngineService* self, |
55 int64_t* last_checked_time, | 55 int64_t* last_checked_time, |
56 double* progress, | 56 double* progress, |
57 gchar** current_operation, | 57 gchar** current_operation, |
58 gchar** new_version, | 58 gchar** new_version, |
59 int64_t* new_size, | 59 int64_t* new_size, |
60 GError **error); | 60 GError **error); |
61 | 61 |
| 62 gboolean update_engine_service_get_track(UpdateEngineService* self, |
| 63 gchar** track, |
| 64 GError **error); |
| 65 |
62 gboolean update_engine_service_reboot_if_needed(UpdateEngineService* self, | 66 gboolean update_engine_service_reboot_if_needed(UpdateEngineService* self, |
63 GError **error); | 67 GError **error); |
64 | 68 |
65 gboolean update_engine_service_set_track(UpdateEngineService* self, | 69 gboolean update_engine_service_set_track(UpdateEngineService* self, |
66 gchar* track, | 70 gchar* track, |
67 GError **error); | 71 GError **error); |
68 | 72 |
69 gboolean update_engine_service_emit_status_update( | 73 gboolean update_engine_service_emit_status_update( |
70 UpdateEngineService* self, | 74 UpdateEngineService* self, |
71 gint64 last_checked_time, | 75 gint64 last_checked_time, |
72 gdouble progress, | 76 gdouble progress, |
73 const gchar* current_operation, | 77 const gchar* current_operation, |
74 const gchar* new_version, | 78 const gchar* new_version, |
75 gint64 new_size); | 79 gint64 new_size); |
76 | 80 |
77 G_END_DECLS | 81 G_END_DECLS |
78 | 82 |
79 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ | 83 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ |
OLD | NEW |