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

Side by Side Diff: chrome/browser/chromeos/login/screen_observer.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_SCREEN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 13 matching lines...) Expand all
24 LOGIN_CREATE_ACCOUNT, 24 LOGIN_CREATE_ACCOUNT,
25 NETWORK_CONNECTED, 25 NETWORK_CONNECTED,
26 NETWORK_OFFLINE, 26 NETWORK_OFFLINE,
27 ACCOUNT_CREATE_BACK, 27 ACCOUNT_CREATE_BACK,
28 ACCOUNT_CREATED, 28 ACCOUNT_CREATED,
29 CONNECTION_FAILED, 29 CONNECTION_FAILED,
30 UPDATE_INSTALLED, 30 UPDATE_INSTALLED,
31 UPDATE_NOUPDATE, 31 UPDATE_NOUPDATE,
32 UPDATE_ERROR_CHECKING_FOR_UPDATE, 32 UPDATE_ERROR_CHECKING_FOR_UPDATE,
33 UPDATE_ERROR_UPDATING, 33 UPDATE_ERROR_UPDATING,
34 USER_IMAGE_SELECTED,
35 USER_IMAGE_SKIPPED,
36 EXIT_CODES_COUNT // not a real code, must be the last 34 EXIT_CODES_COUNT // not a real code, must be the last
37 }; 35 };
38 36
39 // Method called by a screen when user's done with it. 37 // Method called by a screen when user's done with it.
40 virtual void OnExit(ExitCodes exit_code) = 0; 38 virtual void OnExit(ExitCodes exit_code) = 0;
41 39
42 // Notify about new user names and password. It is used to autologin 40 // Notify about new user names and password. It is used to autologin
43 // just created user without asking the same info once again. 41 // just created user without asking the same info once again.
44 virtual void OnSetUserNamePassword(const std::string& username, 42 virtual void OnSetUserNamePassword(const std::string& username,
45 const std::string& password) = 0; 43 const std::string& password) = 0;
46 44
47 protected: 45 protected:
48 virtual ~ScreenObserver() {} 46 virtual ~ScreenObserver() {}
49 }; 47 };
50 48
51 } // namespace chromeos 49 } // namespace chromeos
52 50
53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 51 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/mock_authenticator.h ('k') | chrome/browser/chromeos/login/user_image_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698