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

Side by Side Diff: chrome/browser/chromeos/login/login_utils.h

Issue 2498003: Revert r48735 "Added user image screen for new user login (or old user logging in through" (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: removed grd files from cl Created 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 virtual void CompleteLogin(const std::string& username, 38 virtual void CompleteLogin(const std::string& username,
39 const std::string& credentials) = 0; 39 const std::string& credentials) = 0;
40 40
41 // Invoked after the tmpfs is successfully mounted. 41 // Invoked after the tmpfs is successfully mounted.
42 // Launches a browser in the off the record (incognito) mode. 42 // Launches a browser in the off the record (incognito) mode.
43 virtual void CompleteOffTheRecordLogin() = 0; 43 virtual void CompleteOffTheRecordLogin() = 0;
44 44
45 // Creates and returns the authenticator to use. The caller owns the returned 45 // Creates and returns the authenticator to use. The caller owns the returned
46 // Authenticator and must delete it when done. 46 // Authenticator and must delete it when done.
47 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer) = 0; 47 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer) = 0;
48
49 // Used to postpone browser launch via DoBrowserLaunch() if some post
50 // login screen is to be shown.
51 virtual void EnableBrowserLaunch(bool enable) = 0;
52
53 // Returns if browser launch enabled now or not.
54 virtual bool IsBrowserLaunchEnabled() const = 0;
55
56 // Returns auth token for 'cp' Contacts service.
57 virtual const std::string& GetAuthToken() const = 0;
58 }; 48 };
59 49
60 } // namespace chromeos 50 } // namespace chromeos
61 51
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_ 52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/cookie_fetcher.cc ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698