Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4355)

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 2817933003: Wait for Cryptohome service to be available on login. (Closed)
Patch Set: use OnceClosure for ContinueLoginWhenCryptohomeAvailable Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/existing_user_controller.h
diff --git a/chrome/browser/chromeos/login/existing_user_controller.h b/chrome/browser/chromeos/login/existing_user_controller.h
index 32f8a497364c3e69c7bb2354b48da675ea897c42..ea0f452490c7e6ddfa95f6fe1a954f7e9cd824e1 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.h
+++ b/chrome/browser/chromeos/login/existing_user_controller.h
@@ -251,6 +251,11 @@ class ExistingUserController
// auto-login timer is started.
void PerformLoginFinishedActions(bool start_auto_login_timer);
+ // Invokes |continuation| after verifying that cryptohome service is available
+ void ContinueLoginWhenCryptohomeAvailable(
+ const base::OnceClosure continuation,
xiyuan 2017/04/18 16:38:00 This could not be "const" since we would std::move
Sergey Poromov 2017/04/19 11:08:25 Done.
+ bool service_is_available);
+
// Invokes |continuation| after verifying that the device is not disabled.
void ContinueLoginIfDeviceNotDisabled(const base::Closure& continuation);

Powered by Google App Engine
This is Rietveld 408576698