OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RESET_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 static const char kContextKeyIsRestartRequired[]; | 26 static const char kContextKeyIsRestartRequired[]; |
27 static const char kContextKeyIsRollbackAvailable[]; | 27 static const char kContextKeyIsRollbackAvailable[]; |
28 static const char kContextKeyIsRollbackChecked[]; | 28 static const char kContextKeyIsRollbackChecked[]; |
29 static const char kContextKeyIsConfirmational[]; | 29 static const char kContextKeyIsConfirmational[]; |
30 static const char kContextKeyIsOfficialBuild[]; | 30 static const char kContextKeyIsOfficialBuild[]; |
31 static const char kContextKeyScreenState[]; | 31 static const char kContextKeyScreenState[]; |
32 | 32 |
33 explicit ResetModel(BaseScreenDelegate* base_screen_delegate); | 33 explicit ResetModel(BaseScreenDelegate* base_screen_delegate); |
34 ~ResetModel() override; | 34 ~ResetModel() override; |
35 | 35 |
36 // BaseScreen implementation: | |
37 std::string GetName() const override; | |
38 | |
39 // Called when actor is destroyed so there's no dead reference to it. | 36 // Called when actor is destroyed so there's no dead reference to it. |
40 virtual void OnViewDestroyed(ResetView* view) = 0; | 37 virtual void OnViewDestroyed(ResetView* view) = 0; |
41 }; | 38 }; |
42 | 39 |
43 } // namespace chromeos | 40 } // namespace chromeos |
44 | 41 |
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_ | 42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_ |
OLD | NEW |