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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_reboot_if_needed(UpdateEngineService* self, | 62 gboolean update_engine_service_reboot_if_needed(UpdateEngineService* self, |
63 GError **error); | 63 GError **error); |
64 | 64 |
| 65 gboolean update_engine_service_set_track(UpdateEngineService* self, |
| 66 gchar* track, |
| 67 GError **error); |
| 68 |
65 gboolean update_engine_service_emit_status_update( | 69 gboolean update_engine_service_emit_status_update( |
66 UpdateEngineService* self, | 70 UpdateEngineService* self, |
67 gint64 last_checked_time, | 71 gint64 last_checked_time, |
68 gdouble progress, | 72 gdouble progress, |
69 const gchar* current_operation, | 73 const gchar* current_operation, |
70 const gchar* new_version, | 74 const gchar* new_version, |
71 gint64 new_size); | 75 gint64 new_size); |
72 | 76 |
73 G_END_DECLS | 77 G_END_DECLS |
74 | 78 |
75 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ | 79 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ |
OLD | NEW |