Index: chrome/browser/chromeos/login/login_utils.h |
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h |
index 4867cc29c60768670e3b01af839527aeb28651fb..9435f1f353c4b4859faa502878366d8b7a0d5d96 100644 |
--- a/chrome/browser/chromeos/login/login_utils.h |
+++ b/chrome/browser/chromeos/login/login_utils.h |
@@ -89,6 +89,15 @@ class LoginUtils { |
// TODO(nkostylev): Cleanup after WebUI login migration is complete. |
virtual scoped_refptr<Authenticator> CreateAuthenticator( |
LoginStatusConsumer* consumer) = 0; |
+ |
+ // Initiates process restart if needed. |
+ // |early_restart| is true if this restart attempt happens before user keys |
Nikita (slow)
2014/06/18 12:23:30
nit: Before user profile is fully initialized.
Alexander Alekseev
2014/06/18 15:06:55
Done.
|
+ // are fully initialized. |
+ // Might not return if restart is possible right now. |
+ // Returns true if restart was scheduled. |
+ // Returns false if no restart is needed, |
+ virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile, |
+ bool early_restart) = 0; |
}; |
} // namespace chromeos |