Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / login / screens / reset_model.h
blob75d11c565a7c555f523ce128268a44c4c3cce97c
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_
8 #include <string>
10 #include "chrome/browser/chromeos/login/screens/base_screen.h"
12 namespace chromeos {
14 class BaseScreenDelegate;
15 class ResetView;
17 class ResetModel : public BaseScreen {
18 public:
19 static const char kUserActionCancelReset[];
20 static const char kUserActionResetRestartPressed[];
21 static const char kUserActionResetPowerwashPressed[];
22 static const char kUserActionResetLearnMorePressed[];
23 static const char kUserActionResetRollbackToggled[];
24 static const char kUserActionResetShowConfirmationPressed[];
25 static const char kUserActionResetResetConfirmationDismissed[];
26 static const char kContextKeyIsRestartRequired[];
27 static const char kContextKeyIsRollbackAvailable[];
28 static const char kContextKeyIsRollbackChecked[];
29 static const char kContextKeyIsConfirmational[];
30 static const char kContextKeyIsOfficialBuild[];
31 static const char kContextKeyScreenState[];
33 explicit ResetModel(BaseScreenDelegate* base_screen_delegate);
34 ~ResetModel() override;
36 // BaseScreen implementation:
37 std::string GetName() const override;
39 // Called when actor is destroyed so there's no dead reference to it.
40 virtual void OnViewDestroyed(ResetView* view) = 0;
43 } // namespace chromeos
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_MODEL_H_