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

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

Issue 10590004: [cros] Fake a stub user login when no --login-manager and --login-user are given. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Further test fixes. Created 8 years, 6 months 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
Index: chrome/browser/chromeos/login/user_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h
index 15c657f1c8b58e881defb3a86cf6ffb905f5393d..138a3cdffff627e79dcdf22cd626ee4ef6835cb8 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_manager_impl.h
@@ -149,9 +149,6 @@ class UserManagerImpl : public UserManager,
// list. Returns |NULL| otherwise.
const User* FindUserInList(const std::string& email) const;
- // Makes stub user the current logged-in user (for test paths).
- void StubUserLoggedIn();
-
// Notifies on new user session.
void NotifyOnLogin();
@@ -292,8 +289,7 @@ class UserManagerImpl : public UserManager,
// The logged-in user. NULL until a user has logged in, then points to one
// of the User instances in |users_|, the |guest_user_| instance or an
- // ephemeral user instance. In test paths without login points to the
- // |stub_user_| instance.
+ // ephemeral user instance.
User* logged_in_user_;
// True if SessionStarted() has been called.

Powered by Google App Engine
This is Rietveld 408576698