Index: components/user_manager/user_manager.h |
diff --git a/components/user_manager/user_manager.h b/components/user_manager/user_manager.h |
index 1029959282f0755e1e043a784c87ac2a2172d9d0..b3eb6682bc6a1390eac7f0e282baf1dcbac7a4a7 100644 |
--- a/components/user_manager/user_manager.h |
+++ b/components/user_manager/user_manager.h |
@@ -175,6 +175,14 @@ class USER_MANAGER_EXPORT UserManager { |
// Invoked by session manager to inform session start. |
virtual void OnSessionStarted() = 0; |
+ // Invoked once profile initialization has been completed. This allows various |
+ // subsystems (for example, policy framework) to skip an expensive online |
+ // initialization process, and also allows the signin screen to force an |
+ // online signin if it knows that profile initialization has not yet |
+ // completed. |user| is the User associated with the profile that has |
+ // completed initialization. |
+ virtual void OnProfileInitialized(User* user) = 0; |
+ |
// Removes the user from the device. Note, it will verify that the given user |
// isn't the owner, so calling this method for the owner will take no effect. |
// Note, |delegate| can be NULL. |