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

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

Issue 12213110: Implemented screen notifying users about malformed HWID. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge conflicts resolved. Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 19 matching lines...) Expand all
30 USER_IMAGE_SELECTED, 30 USER_IMAGE_SELECTED,
31 EULA_ACCEPTED, 31 EULA_ACCEPTED,
32 EULA_BACK, 32 EULA_BACK,
33 REGISTRATION_SUCCESS, 33 REGISTRATION_SUCCESS,
34 REGISTRATION_SKIPPED, 34 REGISTRATION_SKIPPED,
35 ENTERPRISE_ENROLLMENT_COMPLETED, 35 ENTERPRISE_ENROLLMENT_COMPLETED,
36 ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED, 36 ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED,
37 RESET_CANCELED, 37 RESET_CANCELED,
38 TERMS_OF_SERVICE_DECLINED, 38 TERMS_OF_SERVICE_DECLINED,
39 TERMS_OF_SERVICE_ACCEPTED, 39 TERMS_OF_SERVICE_ACCEPTED,
40 WRONG_HWID_WARNING_SKIPPED,
40 EXIT_CODES_COUNT // not a real code, must be the last 41 EXIT_CODES_COUNT // not a real code, must be the last
Nikita (slow) 2013/02/12 07:51:50 You have to update wizard_controller_browsertest.c
dzhioev (left Google) 2013/02/12 13:57:51 I've written one simple test. I will write more co
41 }; 42 };
42 43
43 // Method called by a screen when user's done with it. 44 // Method called by a screen when user's done with it.
44 virtual void OnExit(ExitCodes exit_code) = 0; 45 virtual void OnExit(ExitCodes exit_code) = 0;
45 46
46 // Forces current screen showing. 47 // Forces current screen showing.
47 virtual void ShowCurrentScreen() = 0; 48 virtual void ShowCurrentScreen() = 0;
48 49
49 // Notify about new user names and password. It is used to autologin 50 // Notify about new user names and password. It is used to autologin
50 // just created user without asking the same info once again. 51 // just created user without asking the same info once again.
51 virtual void OnSetUserNamePassword(const std::string& username, 52 virtual void OnSetUserNamePassword(const std::string& username,
52 const std::string& password) = 0; 53 const std::string& password) = 0;
53 54
54 // Whether usage statistics reporting is enabled on EULA screen. 55 // Whether usage statistics reporting is enabled on EULA screen.
55 virtual void SetUsageStatisticsReporting(bool val) = 0; 56 virtual void SetUsageStatisticsReporting(bool val) = 0;
56 virtual bool GetUsageStatisticsReporting() const = 0; 57 virtual bool GetUsageStatisticsReporting() const = 0;
57 58
58 protected: 59 protected:
59 virtual ~ScreenObserver() {} 60 virtual ~ScreenObserver() {}
60 }; 61 };
61 62
62 } // namespace chromeos 63 } // namespace chromeos
63 64
64 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ 65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698