OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/chromeos/login/screens/eula_model.h" | 5 #include "chrome/browser/chromeos/login/screens/eula_model.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/login/wizard_controller.h" | 7 #include "chrome/browser/chromeos/login/wizard_controller.h" |
8 | 8 |
9 namespace chromeos { | 9 namespace chromeos { |
10 | 10 |
11 const char EulaModel::kUserActionAcceptButtonClicked[] = "accept-button"; | 11 const char EulaModel::kUserActionAcceptButtonClicked[] = "accept-button"; |
12 const char EulaModel::kUserActionBackButtonClicked[] = "back-button"; | 12 const char EulaModel::kUserActionBackButtonClicked[] = "back-button"; |
13 const char EulaModel::kContextKeyUsageStatsEnabled[] = "usageStatsEnabled"; | 13 const char EulaModel::kContextKeyUsageStatsEnabled[] = "usageStatsEnabled"; |
14 | 14 |
15 EulaModel::EulaModel(BaseScreenDelegate* base_screen_delegate) | 15 EulaModel::EulaModel(BaseScreenDelegate* base_screen_delegate) |
16 : BaseScreen(base_screen_delegate) { | 16 : BaseScreen(base_screen_delegate, WizardController::kEulaScreenName) {} |
17 } | |
18 | 17 |
19 EulaModel::~EulaModel() { | 18 EulaModel::~EulaModel() { |
20 } | 19 } |
21 | 20 |
22 std::string EulaModel::GetName() const { | |
23 return WizardController::kEulaScreenName; | |
24 } | |
25 | |
26 } // namespace chromeos | 21 } // namespace chromeos |
OLD | NEW |