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

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

Issue 2705363002: cros: Move BaseScreenDelegate::ExitCodes into separate file, ScreenExitCode. (Closed)
Patch Set: Rebase Created 3 years, 9 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/wrong_hwid_screen.h" 5 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen.h"
6 6
7 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h" 7 #include "chrome/browser/chromeos/login/screens/base_screen_delegate.h"
8 #include "chrome/browser/chromeos/login/wizard_controller.h" 8 #include "chrome/browser/chromeos/login/wizard_controller.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 16 matching lines...) Expand all
27 if (view_) 27 if (view_)
28 view_->Show(); 28 view_->Show();
29 } 29 }
30 30
31 void WrongHWIDScreen::Hide() { 31 void WrongHWIDScreen::Hide() {
32 if (view_) 32 if (view_)
33 view_->Hide(); 33 view_->Hide();
34 } 34 }
35 35
36 void WrongHWIDScreen::OnExit() { 36 void WrongHWIDScreen::OnExit() {
37 Finish(BaseScreenDelegate::WRONG_HWID_WARNING_SKIPPED); 37 Finish(ScreenExitCode::WRONG_HWID_WARNING_SKIPPED);
38 } 38 }
39 39
40 void WrongHWIDScreen::OnViewDestroyed(WrongHWIDScreenView* view) { 40 void WrongHWIDScreen::OnViewDestroyed(WrongHWIDScreenView* view) {
41 if (view_ == view) 41 if (view_ == view)
42 view_ = nullptr; 42 view_ = nullptr;
43 } 43 }
44 44
45 } // namespace chromeos 45 } // namespace chromeos
46 46
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_image_screen.cc ('k') | chrome/browser/chromeos/login/wizard_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698