| Index: chromeos/cryptohome/system_salt_getter.h
|
| diff --git a/chromeos/cryptohome/system_salt_getter.h b/chromeos/cryptohome/system_salt_getter.h
|
| index d154ff235aa5a6516a55c8b7c735cdb75a1dbcba..a47b617bcf8e386ef0ffde0a9f287359875ca73e 100644
|
| --- a/chromeos/cryptohome/system_salt_getter.h
|
| +++ b/chromeos/cryptohome/system_salt_getter.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback_forward.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "chromeos/chromeos_export.h"
|
|
|
| namespace chromeos {
|
| @@ -49,11 +50,17 @@ class CHROMEOS_EXPORT SystemSaltGetter {
|
| ~SystemSaltGetter();
|
|
|
| private:
|
| + // Used to implement GetSystemSalt().
|
| + void GetSystemSaltInternal(const GetSystemSaltCallback& callback,
|
| + bool service_is_available);
|
| +
|
| // Loads the system salt from cryptohome and caches it.
|
| void LoadSystemSalt();
|
|
|
| std::string system_salt_;
|
|
|
| + base::WeakPtrFactory<SystemSaltGetter> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SystemSaltGetter);
|
| };
|
|
|
|
|