OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium 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_CRYPTOHOME_HOMEDIR_METHODS_H_ | 5 #ifndef CHROMEOS_CRYPTOHOME_HOMEDIR_METHODS_H_ |
6 #define CHROMEOS_CRYPTOHOME_HOMEDIR_METHODS_H_ | 6 #define CHROMEOS_CRYPTOHOME_HOMEDIR_METHODS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
13 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
14 #include "chromeos/cryptohome/cryptohome_parameters.h" | 13 #include "chromeos/cryptohome/cryptohome_parameters.h" |
15 #include "chromeos/dbus/cryptohome_client.h" | 14 #include "chromeos/dbus/cryptohome_client.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 16 |
18 namespace cryptohome { | 17 namespace cryptohome { |
19 | 18 |
20 // This class manages calls to Cryptohome service's home directory methods: | 19 // This class manages calls to Cryptohome service's home directory methods: |
21 // Mount, CheckKey, Add/UpdateKey. | 20 // Mount, CheckKey, Add/UpdateKey. |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 static void Shutdown(); | 102 static void Shutdown(); |
104 | 103 |
105 // Returns a pointer to the global HomedirMethods instance. | 104 // Returns a pointer to the global HomedirMethods instance. |
106 // Initialize() should already have been called. | 105 // Initialize() should already have been called. |
107 static HomedirMethods* GetInstance(); | 106 static HomedirMethods* GetInstance(); |
108 }; | 107 }; |
109 | 108 |
110 } // namespace cryptohome | 109 } // namespace cryptohome |
111 | 110 |
112 #endif // CHROMEOS_CRYPTOHOME_HOMEDIR_METHODS_H_ | 111 #endif // CHROMEOS_CRYPTOHOME_HOMEDIR_METHODS_H_ |
OLD | NEW |