| 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_SCREENS_EULA_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 EulaScreen(BaseScreenDelegate* base_screen_delegate, | 35 EulaScreen(BaseScreenDelegate* base_screen_delegate, |
| 36 Delegate* delegate, | 36 Delegate* delegate, |
| 37 EulaView* view); | 37 EulaView* view); |
| 38 ~EulaScreen() override; | 38 ~EulaScreen() override; |
| 39 | 39 |
| 40 // Returns URL of the OEM EULA page that should be displayed using current | 40 // Returns URL of the OEM EULA page that should be displayed using current |
| 41 // locale and manifest. Returns empty URL otherwise. | 41 // locale and manifest. Returns empty URL otherwise. |
| 42 GURL GetOemEulaUrl() const; | 42 GURL GetOemEulaUrl() const; |
| 43 | 43 |
| 44 // Initiate TPM password fetch. Will call actor's OnPasswordFetched() when | 44 // Initiate TPM password fetch. Will call view's OnPasswordFetched() when |
| 45 // done. | 45 // done. |
| 46 void InitiatePasswordFetch(); | 46 void InitiatePasswordFetch(); |
| 47 | 47 |
| 48 // Returns true if usage statistics reporting is enabled. | 48 // Returns true if usage statistics reporting is enabled. |
| 49 bool IsUsageStatsEnabled() const; | 49 bool IsUsageStatsEnabled() const; |
| 50 | 50 |
| 51 // This method is called, when view is being destroyed. Note, if model | 51 // This method is called, when view is being destroyed. Note, if model |
| 52 // is destroyed earlier then it has to call SetModel(NULL). | 52 // is destroyed earlier then it has to call SetModel(NULL). |
| 53 void OnViewDestroyed(EulaView* view); | 53 void OnViewDestroyed(EulaView* view); |
| 54 | 54 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 77 EulaView* view_; | 77 EulaView* view_; |
| 78 | 78 |
| 79 TpmPasswordFetcher password_fetcher_; | 79 TpmPasswordFetcher password_fetcher_; |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(EulaScreen); | 81 DISALLOW_COPY_AND_ASSIGN(EulaScreen); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace chromeos | 84 } // namespace chromeos |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_EULA_SCREEN_H_ |
| OLD | NEW |