| 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 90a262c5b8a67561965f559d49972c800fa0cf05..2e3300a7937472201bba59b8503170aa2d483c5b 100644
|
| --- a/chrome/browser/chromeos/login/login_utils.h
|
| +++ b/chrome/browser/chromeos/login/login_utils.h
|
| @@ -29,13 +29,17 @@ class LoginUtils {
|
| public:
|
| class Delegate {
|
| public:
|
| - // Called after profile is loaded and prepared for the session.
|
| + // Called after profile is loaded and prepared for the session.
|
| virtual void OnProfilePrepared(Profile* profile) = 0;
|
|
|
| #if defined(ENABLE_RLZ)
|
| // Called after post-profile RLZ initialization.
|
| virtual void OnRlzInitialized(Profile* profile) {}
|
| #endif
|
| +
|
| + // Called immediately after profile is created, should be used as a test
|
| + // se
|
| + virtual void OnProfileCreated(Profile* profile) {}
|
| };
|
|
|
| // Get LoginUtils singleton object. If it was not set before, new default
|
| @@ -116,6 +120,9 @@ class LoginUtils {
|
| // Initialize RLZ.
|
| virtual void InitRlzDelayed(Profile* user_profile) = 0;
|
|
|
| + // Completed profile creation process.
|
| + virtual void CompleteProfileCreate(Profile* user_profile) {}
|
| +
|
| protected:
|
| friend class ::BrowserGuestSessionNavigatorTest;
|
|
|
|
|