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

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

Issue 8840003: Replace ProfileManagerObserver with callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 9 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_performer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_performer.h
diff --git a/chrome/browser/chromeos/login/login_performer.h b/chrome/browser/chromeos/login/login_performer.h
index 1372a10e7f3c339092bf9109a9e45b35ee877cb5..e45136ac21f280e71cf9389ccf74b14af830ae09 100644
--- a/chrome/browser/chromeos/login/login_performer.h
+++ b/chrome/browser/chromeos/login/login_performer.h
@@ -51,8 +51,7 @@ namespace chromeos {
// 1. ScreenLock active (pending correct new password input)
// 2. Pending online auth request.
class LoginPerformer : public LoginStatusConsumer,
- public content::NotificationObserver,
- public ProfileManagerObserver {
+ public content::NotificationObserver {
public:
// Delegate class to get notifications from the LoginPerformer.
class Delegate : public LoginStatusConsumer {
@@ -126,8 +125,9 @@ class LoginPerformer : public LoginStatusConsumer,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // ProfileManagerObserver implementation:
- virtual void OnProfileCreated(Profile* profile, Status status) OVERRIDE;
+ // Callback for asynchronous profile creation.
+ void OnProfileCreated(Profile* profile,
+ Profile::CreateStatus status);
// Requests screen lock and subscribes to screen lock notifications.
void RequestScreenLock();
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698