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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WRONG_HWID_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WRONG_HWID_SCREEN_H_
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "chrome/browser/chromeos/login/screens/base_screen.h"
13 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h"
17 // Representation independent class that controls screen showing warning about
18 // malformed HWID to users.
19 class WrongHWIDScreen
: public BaseScreen
,
20 public WrongHWIDScreenActor::Delegate
{
22 WrongHWIDScreen(BaseScreenDelegate
* base_screen_delegate
,
23 WrongHWIDScreenActor
* actor
);
24 ~WrongHWIDScreen() override
;
26 // BaseScreen implementation:
27 void PrepareToShow() override
;
30 std::string
GetName() const override
;
32 // WrongHWIDScreenActor::Delegate implementation:
33 void OnExit() override
;
34 void OnActorDestroyed(WrongHWIDScreenActor
* actor
) override
;
37 WrongHWIDScreenActor
* actor_
;
39 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreen
);
42 } // namespace chromeos
44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_WRONG_HWID_SCREEN_H_