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

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

Issue 9348022: [cros] Use mocked URLFetcher and other mocks in ExistingUserController tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move Created 8 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | 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 976e7cab369ef11f03b350a522e11920e01f7279..50dcf396c8a272237f51b62238940a00423c1962 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -41,18 +41,18 @@ class LoginUtils {
// Set LoginUtils singleton object for test purpose only!
static void Set(LoginUtils* ptr);
- // Thin wrapper around BrowserInit::LaunchBrowser(). Meant to be used in a
- // Task posted to the UI thread. Once the browser is launched the login
- // host is deleted.
- static void DoBrowserLaunch(Profile* profile,
- LoginDisplayHost* login_host);
-
// Checks if the given username is whitelisted and allowed to sign-in to
// this device.
static bool IsWhitelisted(const std::string& username);
virtual ~LoginUtils() {}
+ // Thin wrapper around BrowserInit::LaunchBrowser(). Meant to be used in a
+ // Task posted to the UI thread. Once the browser is launched the login
+ // host is deleted.
+ virtual void DoBrowserLaunch(Profile* profile,
+ LoginDisplayHost* login_host) = 0;
+
// Loads and prepares profile for the session. Fires |delegate| in the end.
// If |pending_requests| is true, there's a pending online auth request.
// If |display_email| is not empty, user's displayed email will be set to
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698