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

Side by Side Diff: dbus_service.h

Issue 4094001: AU: Provide a D-Bus API for changing the update track. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: review comments Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dbus_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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__
OLDNEW
« no previous file with comments | « no previous file | dbus_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698