OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ASYNC_METHOD_CALLER_H_ | 5 #ifndef CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_ |
6 #define CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_ | 6 #define CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
12 #include "chromeos/attestation/attestation_constants.h" | 11 #include "chromeos/attestation/attestation_constants.h" |
13 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
14 #include "chromeos/dbus/cryptohome_client.h" | 13 #include "chromeos/dbus/cryptohome_client.h" |
15 #include "third_party/cros_system_api/dbus/service_constants.h" | 14 #include "third_party/cros_system_api/dbus/service_constants.h" |
16 | 15 |
17 namespace cryptohome { | 16 namespace cryptohome { |
18 | 17 |
19 // Note: This file is placed in ::cryptohome instead of ::chromeos::cryptohome | 18 // Note: This file is placed in ::cryptohome instead of ::chromeos::cryptohome |
20 // since there is already a namespace ::cryptohome which holds the error code | 19 // since there is already a namespace ::cryptohome which holds the error code |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 static void Shutdown(); | 204 static void Shutdown(); |
206 | 205 |
207 // Returns a pointer to the global AsyncMethodCaller instance. | 206 // Returns a pointer to the global AsyncMethodCaller instance. |
208 // Initialize() should already have been called. | 207 // Initialize() should already have been called. |
209 static AsyncMethodCaller* GetInstance(); | 208 static AsyncMethodCaller* GetInstance(); |
210 }; | 209 }; |
211 | 210 |
212 } // namespace cryptohome | 211 } // namespace cryptohome |
213 | 212 |
214 #endif // CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_ | 213 #endif // CHROMEOS_CRYPTOHOME_ASYNC_METHOD_CALLER_H_ |
OLD | NEW |