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

Unified Diff: interface.cc

Issue 2645008: Update on feedback, update dbus API, add unit tests. TEST=manual,unit,BVT BUG=3628 323 (Closed) Base URL: ssh://git@chromiumos-git/cryptohome.git
Patch Set: Address second round of feedback. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « interface.h ('k') | make_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: interface.cc
diff --git a/interface.cc b/interface.cc
index 88bb0b89241aaf05c8326e91203ef1a0a70f8985..0593cebcaa7bc6438238cca0f052dbaa835715ff 100644
--- a/interface.cc
+++ b/interface.cc
@@ -1,7 +1,7 @@
// Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cryptohome/interface.h"
+#include "interface.h"
namespace cryptohome {
namespace gobject {
@@ -81,9 +81,16 @@ gboolean cryptohome_is_mounted(Cryptohome *self,
gboolean cryptohome_mount(Cryptohome *self,
gchar *userid,
gchar *key,
+ gint *OUT_error,
gboolean *OUT_done,
GError **error) {
- CRYPTOHOME_WRAP_METHOD(Mount, userid, key, OUT_done);
+ CRYPTOHOME_WRAP_METHOD(Mount, userid, key, OUT_error, OUT_done);
+}
+gboolean cryptohome_mount_guest(Cryptohome *self,
+ gint *OUT_error,
+ gboolean *OUT_done,
+ GError **error) {
+ CRYPTOHOME_WRAP_METHOD(MountGuest, OUT_error, OUT_done);
}
gboolean cryptohome_unmount(Cryptohome *self,
gboolean *OUT_done,
« no previous file with comments | « interface.h ('k') | make_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698