OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Notify about new user names and password. It is used to autologin | 47 // Notify about new user names and password. It is used to autologin |
48 // just created user without asking the same info once again. | 48 // just created user without asking the same info once again. |
49 virtual void OnSetUserNamePassword(const std::string& username, | 49 virtual void OnSetUserNamePassword(const std::string& username, |
50 const std::string& password) = 0; | 50 const std::string& password) = 0; |
51 | 51 |
52 // Whether usage statistics reporting is enabled on EULA screen. | 52 // Whether usage statistics reporting is enabled on EULA screen. |
53 virtual void SetUsageStatisticsReporting(bool val) = 0; | 53 virtual void SetUsageStatisticsReporting(bool val) = 0; |
54 virtual bool GetUsageStatisticsReporting() const = 0; | 54 virtual bool GetUsageStatisticsReporting() const = 0; |
55 | 55 |
56 // Whether RLZ tracking is enabled on EULA screen. | |
57 virtual void SetRlzEnabled(bool val) = 0; | |
58 virtual bool GetRlzEnabled() const = 0; | |
59 | |
60 protected: | 56 protected: |
61 virtual ~ScreenObserver() {} | 57 virtual ~ScreenObserver() {} |
62 }; | 58 }; |
63 | 59 |
64 } // namespace chromeos | 60 } // namespace chromeos |
65 | 61 |
66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ | 62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_OBSERVER_H_ |
OLD | NEW |