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

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

Issue 11576065: Improved GAIA cookie retrieval logic in ChromeOS login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698