| OLD | NEW |
| 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 #ifndef CRYPTOHOME_SERVICE_H_ | 4 #ifndef CRYPTOHOME_SERVICE_H_ |
| 5 #define CRYPTOHOME_SERVICE_H_ | 5 #define CRYPTOHOME_SERVICE_H_ |
| 6 | 6 |
| 7 #include <base/logging.h> | 7 #include <base/logging.h> |
| 8 #include <base/scoped_ptr.h> | 8 #include <base/scoped_ptr.h> |
| 9 #include <base/thread.h> | 9 #include <base/thread.h> |
| 10 #include <chromeos/dbus/abstract_dbus_service.h> | 10 #include <chromeos/dbus/abstract_dbus_service.h> |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 virtual gboolean MountGuest(gint *OUT_error_code, | 119 virtual gboolean MountGuest(gint *OUT_error_code, |
| 120 gboolean *OUT_result, | 120 gboolean *OUT_result, |
| 121 GError **error); | 121 GError **error); |
| 122 virtual gboolean AsyncMountGuest(gint *OUT_async_id, | 122 virtual gboolean AsyncMountGuest(gint *OUT_async_id, |
| 123 GError **error); | 123 GError **error); |
| 124 virtual gboolean Unmount(gboolean *OUT_result, GError **error); | 124 virtual gboolean Unmount(gboolean *OUT_result, GError **error); |
| 125 virtual gboolean RemoveTrackedSubdirectories(gboolean *OUT_result, | 125 virtual gboolean RemoveTrackedSubdirectories(gboolean *OUT_result, |
| 126 GError **error); | 126 GError **error); |
| 127 virtual gboolean AsyncRemoveTrackedSubdirectories(gint *OUT_async_id, | 127 virtual gboolean AsyncRemoveTrackedSubdirectories(gint *OUT_async_id, |
| 128 GError **error); | 128 GError **error); |
| 129 virtual gboolean DoAutomaticFreeDiskSpaceControl(gboolean *OUT_result, |
| 130 GError **error); |
| 131 virtual gboolean AsyncDoAutomaticFreeDiskSpaceControl(gint *OUT_async_id, |
| 132 GError **error); |
| 129 | 133 |
| 130 virtual gboolean TpmIsReady(gboolean* OUT_ready, GError** error); | 134 virtual gboolean TpmIsReady(gboolean* OUT_ready, GError** error); |
| 131 virtual gboolean TpmIsEnabled(gboolean* OUT_enabled, GError** error); | 135 virtual gboolean TpmIsEnabled(gboolean* OUT_enabled, GError** error); |
| 132 virtual gboolean TpmGetPassword(gchar** OUT_password, GError** error); | 136 virtual gboolean TpmGetPassword(gchar** OUT_password, GError** error); |
| 133 virtual gboolean TpmIsOwned(gboolean* OUT_owned, GError** error); | 137 virtual gboolean TpmIsOwned(gboolean* OUT_owned, GError** error); |
| 134 virtual gboolean TpmIsBeingOwned(gboolean* OUT_owning, GError** error); | 138 virtual gboolean TpmIsBeingOwned(gboolean* OUT_owning, GError** error); |
| 135 virtual gboolean TpmCanAttemptOwnership(GError** error); | 139 virtual gboolean TpmCanAttemptOwnership(GError** error); |
| 136 virtual gboolean TpmClearStoredPassword(GError** error); | 140 virtual gboolean TpmClearStoredPassword(GError** error); |
| 137 virtual gboolean GetStatusString(gchar** OUT_status, GError** error); | 141 virtual gboolean GetStatusString(gchar** OUT_status, GError** error); |
| 138 | 142 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 152 base::Thread mount_thread_; | 156 base::Thread mount_thread_; |
| 153 guint async_complete_signal_; | 157 guint async_complete_signal_; |
| 154 guint tpm_init_signal_; | 158 guint tpm_init_signal_; |
| 155 CryptohomeEventSource event_source_; | 159 CryptohomeEventSource event_source_; |
| 156 DISALLOW_COPY_AND_ASSIGN(Service); | 160 DISALLOW_COPY_AND_ASSIGN(Service); |
| 157 }; | 161 }; |
| 158 | 162 |
| 159 } // namespace cryptohome | 163 } // namespace cryptohome |
| 160 | 164 |
| 161 #endif // CRYPTOHOME_SERVICE_H_ | 165 #endif // CRYPTOHOME_SERVICE_H_ |
| OLD | NEW |