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/update_model.h"
7 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 const char UpdateModel::kUserActionCancelUpdateShortcut
[] = "cancel-update";
12 const char UpdateModel::kContextKeyEstimatedTimeLeftSec
[] = "time-left-sec";
13 const char UpdateModel::kContextKeyShowEstimatedTimeLeft
[] = "show-time-left";
14 const char UpdateModel::kContextKeyUpdateMessage
[] = "update-msg";
15 const char UpdateModel::kContextKeyShowCurtain
[] = "show-curtain";
16 const char UpdateModel::kContextKeyShowProgressMessage
[] = "show-progress-msg";
17 const char UpdateModel::kContextKeyProgress
[] = "progress";
18 const char UpdateModel::kContextKeyProgressMessage
[] = "progress-msg";
19 const char UpdateModel::kContextKeyCancelUpdateShortcutEnabled
[] =
20 "cancel-update-enabled";
22 UpdateModel::UpdateModel(BaseScreenDelegate
* base_screen_delegate
)
23 : BaseScreen(base_screen_delegate
) {
26 UpdateModel::~UpdateModel() {
29 std::string
UpdateModel::GetName() const {
30 return WizardController::kUpdateScreenName
;
33 } // namespace chromeos