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/network_error_model.h"
7 #include "chrome/browser/chromeos/login/wizard_controller.h"
11 const char NetworkErrorModel::kContextKeyErrorStateCode
[] = "error-state-code";
12 const char NetworkErrorModel::kContextKeyErrorStateNetwork
[] =
13 "error-state-network";
14 const char NetworkErrorModel::kContextKeyGuestSigninAllowed
[] =
15 "guest-signin-allowed";
16 const char NetworkErrorModel::kContextKeyOfflineSigninAllowed
[] =
17 "offline-signin-allowed";
18 const char NetworkErrorModel::kContextKeyShowConnectingIndicator
[] =
19 "show-connecting-indicator";
20 const char NetworkErrorModel::kContextKeyUIState
[] = "ui-state";
21 const char NetworkErrorModel::kUserActionConfigureCertsButtonClicked
[] =
23 const char NetworkErrorModel::kUserActionDiagnoseButtonClicked
[] = "diagnose";
24 const char NetworkErrorModel::kUserActionLaunchOobeGuestSessionClicked
[] =
27 NetworkErrorModel::kUserActionLocalStateErrorPowerwashButtonClicked
[] =
28 "local-state-error-powerwash";
29 const char NetworkErrorModel::kUserActionRebootButtonClicked
[] = "reboot";
30 const char NetworkErrorModel::kUserActionShowCaptivePortalClicked
[] =
31 "show-captive-portal";
32 const char NetworkErrorModel::kUserActionConnectRequested
[] =
35 NetworkErrorModel::NetworkErrorModel(BaseScreenDelegate
* base_screen_delegate
)
36 : BaseScreen(base_screen_delegate
) {
39 NetworkErrorModel::~NetworkErrorModel() {
42 std::string
NetworkErrorModel::GetName() const {
43 return WizardController::kErrorScreenName
;
46 } // namespace chromeos