| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 int64_t* last_checked_time, | 50 int64_t* last_checked_time, |
| 51 double* progress, | 51 double* progress, |
| 52 gchar** current_operation, | 52 gchar** current_operation, |
| 53 gchar** new_version, | 53 gchar** new_version, |
| 54 int64_t* new_size, | 54 int64_t* new_size, |
| 55 GError **error); | 55 GError **error); |
| 56 | 56 |
| 57 gboolean update_engine_service_check_for_update(UpdateEngineService* self, | 57 gboolean update_engine_service_check_for_update(UpdateEngineService* self, |
| 58 GError **error); | 58 GError **error); |
| 59 | 59 |
| 60 gboolean update_engine_service_attempt_update(UpdateEngineService* self, |
| 61 gchar* app_version, |
| 62 gchar* omaha_url, |
| 63 GError **error); |
| 64 |
| 60 gboolean update_engine_service_emit_status_update( | 65 gboolean update_engine_service_emit_status_update( |
| 61 UpdateEngineService* self, | 66 UpdateEngineService* self, |
| 62 gint64 last_checked_time, | 67 gint64 last_checked_time, |
| 63 gdouble progress, | 68 gdouble progress, |
| 64 const gchar* current_operation, | 69 const gchar* current_operation, |
| 65 const gchar* new_version, | 70 const gchar* new_version, |
| 66 gint64 new_size); | 71 gint64 new_size); |
| 67 | 72 |
| 68 G_END_DECLS | 73 G_END_DECLS |
| 69 | 74 |
| 70 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ | 75 #endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_DBUS_SERVICE_H__ |
| OLD | NEW |