Chromium Code Reviews| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 gboolean *OUT_result, | 96 gboolean *OUT_result, |
| 97 GError **error); | 97 GError **error); |
| 98 virtual gboolean AsyncRemove(gchar *user, | 98 virtual gboolean AsyncRemove(gchar *user, |
| 99 gint *OUT_async_id, | 99 gint *OUT_async_id, |
| 100 GError **error); | 100 GError **error); |
| 101 virtual gboolean GetSystemSalt(GArray **OUT_salt, GError **error); | 101 virtual gboolean GetSystemSalt(GArray **OUT_salt, GError **error); |
| 102 virtual gboolean IsMounted(gboolean *OUT_is_mounted, GError **error); | 102 virtual gboolean IsMounted(gboolean *OUT_is_mounted, GError **error); |
| 103 virtual gboolean Mount(gchar *user, | 103 virtual gboolean Mount(gchar *user, |
| 104 gchar *key, | 104 gchar *key, |
| 105 gboolean create_if_missing, | 105 gboolean create_if_missing, |
| 106 gboolean replace_tracked_subdirectories, | 106 gboolean deprecated_replace_tracked_subdirectories, |
| 107 gchar** tracked_subdirectories, | 107 gchar** deprecated_tracked_subdirectories, |
| 108 gint *OUT_error_code, | 108 gint *OUT_error_code, |
| 109 gboolean *OUT_result, | 109 gboolean *OUT_result, |
| 110 GError **error); | 110 GError **error); |
| 111 virtual gboolean AsyncMount(gchar *user, | 111 virtual gboolean AsyncMount(gchar *user, |
| 112 gchar *key, | 112 gchar *key, |
| 113 gboolean create_if_missing, | 113 gboolean create_if_missing, |
| 114 gboolean replace_tracked_subdirectories, | 114 gboolean deprecated_replace_tracked_subdirectories , |
|
fes
2011/02/25 23:08:41
80 Columns
glotov
2011/02/28 18:22:33
Done.
| |
| 115 gchar** tracked_subdirectories, | 115 gchar** deprecated_tracked_subdirectories, |
| 116 gint *OUT_async_id, | 116 gint *OUT_async_id, |
| 117 GError **error); | 117 GError **error); |
| 118 virtual gboolean MountGuest(gint *OUT_error_code, | 118 virtual gboolean MountGuest(gint *OUT_error_code, |
| 119 gboolean *OUT_result, | 119 gboolean *OUT_result, |
| 120 GError **error); | 120 GError **error); |
| 121 virtual gboolean AsyncMountGuest(gint *OUT_async_id, | 121 virtual gboolean AsyncMountGuest(gint *OUT_async_id, |
| 122 GError **error); | 122 GError **error); |
| 123 virtual gboolean Unmount(gboolean *OUT_result, GError **error); | 123 virtual gboolean Unmount(gboolean *OUT_result, GError **error); |
| 124 virtual gboolean RemoveTrackedSubdirectories(gboolean *OUT_result, | 124 virtual gboolean RemoveTrackedSubdirectories(gboolean *OUT_result, |
| 125 GError **error); | 125 GError **error); |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 151 base::Thread mount_thread_; | 151 base::Thread mount_thread_; |
| 152 guint async_complete_signal_; | 152 guint async_complete_signal_; |
| 153 guint tpm_init_signal_; | 153 guint tpm_init_signal_; |
| 154 CryptohomeEventSource event_source_; | 154 CryptohomeEventSource event_source_; |
| 155 DISALLOW_COPY_AND_ASSIGN(Service); | 155 DISALLOW_COPY_AND_ASSIGN(Service); |
| 156 }; | 156 }; |
| 157 | 157 |
| 158 } // namespace cryptohome | 158 } // namespace cryptohome |
| 159 | 159 |
| 160 #endif // CRYPTOHOME_SERVICE_H_ | 160 #endif // CRYPTOHOME_SERVICE_H_ |
| OLD | NEW |