| Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h
|
| diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h
|
| index 813ed251d393b3f80b3e7880a37e74c7078d626b..00f25f0323a9f9f87e688f94d3cd2b07b2e33d95 100644
|
| --- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h
|
| +++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h
|
| @@ -26,10 +26,19 @@ class EasyUnlockGetKeysOperation {
|
| const GetKeysCallback& callback);
|
| ~EasyUnlockGetKeysOperation();
|
|
|
| + // Starts the operation. If the cryptohome service is not yet available, the
|
| + // request will be deferred until it is ready.
|
| void Start();
|
|
|
| private:
|
| + // Called once when the cryptohome service is available.
|
| + void OnCryptohomeAvailable(bool available);
|
| +
|
| + // Asynchronously requests data for |key_index_| from cryptohome.
|
| void GetKeyData();
|
| +
|
| + // Callback for GetKeyData(). Updates |devices_|, increments |key_index_|, and
|
| + // calls GetKeyData() again.
|
| void OnGetKeyData(
|
| bool success,
|
| cryptohome::MountError return_code,
|
|
|