Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: chrome/browser/chromeos/login/screens/eula_model.cc

Issue 2549373005: cros: Refactor of BaseScreen::GetName to BaseScreen::screen_id. (Closed)
Patch Set: Nits Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/eula_model.h ('k') | chrome/browser/chromeos/login/screens/hid_detection_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698