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 #include "chrome/browser/chromeos/login/screens/reset_model.h"
7 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 const char ResetModel::kUserActionCancelReset
[] = "cancel-reset";
12 const char ResetModel::kUserActionResetRestartPressed
[] = "restart-pressed";
13 const char ResetModel::kUserActionResetPowerwashPressed
[] = "powerwash-pressed";
14 const char ResetModel::kUserActionResetLearnMorePressed
[] = "learn-more-link";
15 const char ResetModel::kUserActionResetRollbackToggled
[] = "rollback-toggled";
16 const char ResetModel::kUserActionResetShowConfirmationPressed
[] =
18 const char ResetModel::kUserActionResetResetConfirmationDismissed
[] =
19 "reset-confirm-dismissed";
21 const char ResetModel::kContextKeyIsRestartRequired
[] = "restart-required";
22 const char ResetModel::kContextKeyIsRollbackAvailable
[] = "rollback-available";
23 const char ResetModel::kContextKeyIsRollbackChecked
[] = "rollback-checked";
24 const char ResetModel::kContextKeyIsConfirmational
[] = "is-confirmational-view";
25 const char ResetModel::kContextKeyIsOfficialBuild
[] = "is-official-build";
26 const char ResetModel::kContextKeyScreenState
[] = "screen-state";
28 ResetModel::ResetModel(BaseScreenDelegate
* base_screen_delegate
)
29 : BaseScreen(base_screen_delegate
) {
32 ResetModel::~ResetModel() {
35 std::string
ResetModel::GetName() const {
36 return WizardController::kResetScreenName
;
39 } // namespace chromeos