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

Side by Side Diff: interface.cc

Issue 6801020: service,cryptohome: wire up lockbox to dbus (Closed)
Patch Set: fix spaces Created 9 years, 8 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 unified diff | Download patch
« no previous file with comments | « interface.h ('k') | service.h » ('j') | service.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "interface.h" 4 #include "interface.h"
5 5
6 namespace cryptohome { 6 namespace cryptohome {
7 namespace gobject { 7 namespace gobject {
8 8
9 // Register with the glib type system. 9 // Register with the glib type system.
10 // This macro automatically defines a number of functions and variables 10 // This macro automatically defines a number of functions and variables
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 } 199 }
200 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, 200 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self,
201 GError **error) { 201 GError **error) {
202 CRYPTOHOME_WRAP_METHOD_NO_ARGS(TpmClearStoredPassword); 202 CRYPTOHOME_WRAP_METHOD_NO_ARGS(TpmClearStoredPassword);
203 } 203 }
204 gboolean cryptohome_get_status_string(Cryptohome *self, 204 gboolean cryptohome_get_status_string(Cryptohome *self,
205 gchar **OUT_status, 205 gchar **OUT_status,
206 GError **error) { 206 GError **error) {
207 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status); 207 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status);
208 } 208 }
209
210 gboolean cryptohome_lockbox_get(Cryptohome *self,
211 gchar* name,
212 GArray** OUT_value,
213 gboolean* OUT_successful,
214 GError** error) {
215 CRYPTOHOME_WRAP_METHOD(LockboxGet, name, OUT_value, OUT_successful);
216 }
217
218 gboolean cryptohome_lockbox_set(Cryptohome *self,
219 gchar* name,
220 GArray* value,
221 gboolean* OUT_successful,
222 GError** error) {
223 CRYPTOHOME_WRAP_METHOD(LockboxSet, name, value, OUT_successful);
224 }
225
226 gboolean cryptohome_lockbox_lock(Cryptohome *self,
227 gboolean* OUT_locked,
228 GError** error) {
229 CRYPTOHOME_WRAP_METHOD(LockboxLock, OUT_locked);
230 }
231
232 gboolean cryptohome_lockbox_count(Cryptohome *self,
233 gint* OUT_count,
234 GError** error) {
235 CRYPTOHOME_WRAP_METHOD(LockboxCount, OUT_count);
236 }
237
238 gboolean cryptohome_lockbox_is_ready(Cryptohome *self,
239 gboolean* OUT_ready,
240 GError** error) {
241 CRYPTOHOME_WRAP_METHOD(LockboxIsReady, OUT_ready);
242 }
243
244 gboolean cryptohome_lockbox_is_locked(Cryptohome *self,
245 gboolean* OUT_locked,
246 GError** error) {
247 CRYPTOHOME_WRAP_METHOD(LockboxIsLocked, OUT_locked);
248 }
249
250 gboolean cryptohome_lockbox_is_secure(Cryptohome *self,
251 gboolean* OUT_secure,
252 GError** error) {
253 CRYPTOHOME_WRAP_METHOD(LockboxIsSecure, OUT_secure);
254 }
255
256 gboolean cryptohome_lockbox_is_tampered(Cryptohome *self,
257 gboolean* OUT_tampered,
258 GError** error) {
259 CRYPTOHOME_WRAP_METHOD(LockboxIsTampered, OUT_tampered);
260 }
261
262 gboolean cryptohome_lockbox_is_legacy(Cryptohome *self,
263 gboolean* OUT_legacy,
264 GError** error) {
265 CRYPTOHOME_WRAP_METHOD(LockboxIsLegacy, OUT_legacy);
266 }
267
209 #undef CRYPTOHOME_WRAP_METHOD 268 #undef CRYPTOHOME_WRAP_METHOD
210 269
211 } // namespace gobject 270 } // namespace gobject
212 } // namespace cryptohome 271 } // namespace cryptohome
OLDNEW
« no previous file with comments | « interface.h ('k') | service.h » ('j') | service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698