Chromium Code Reviews| Index: chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.h |
| diff --git a/chrome/browser/chromeos/login/screens/hid_detection_screen_actor.h b/chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.h |
| similarity index 53% |
| copy from chrome/browser/chromeos/login/screens/hid_detection_screen_actor.h |
| copy to chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.h |
| index 575dfc4b5e2ff1c54f32b86f77ded29c1afcd174..81a08c43c81276aa4148971e17ca984bcda8a7d9 100644 |
| --- a/chrome/browser/chromeos/login/screens/hid_detection_screen_actor.h |
| +++ b/chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_actor.h |
| @@ -2,18 +2,18 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_ACTOR_H_ |
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_ACTOR_H_ |
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN_ACTOR_H_ |
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN_ACTOR_H_ |
| #include <string> |
|
ygorshenin1
2014/05/20 16:54:40
Delete this.
pastarmovj
2014/05/22 13:41:44
Done.
|
| namespace chromeos { |
| -// Interface between HID detection screen and its representation. |
| +// Interface between auto-enrollment check screen and its representation. |
| // Note, do not forget to call OnActorDestroyed in the dtor. |
| -class HIDDetectionScreenActor { |
| +class AutoEnrollmentCheckScreenActor { |
| public: |
| - // Allows us to get info from HID detection screen that we need. |
| + // Allows us to get info from auto-enrollment check screen that we need. |
| class Delegate { |
| public: |
| virtual ~Delegate() {} |
| @@ -23,17 +23,15 @@ class HIDDetectionScreenActor { |
| // This method is called, when actor is being destroyed. Note, if Delegate |
| // is destroyed earlier then it has to call SetDelegate(NULL). |
| - virtual void OnActorDestroyed(HIDDetectionScreenActor* actor) = 0; |
| + virtual void OnActorDestroyed(AutoEnrollmentCheckScreenActor* actor) = 0; |
| }; |
| - virtual ~HIDDetectionScreenActor() {} |
| + virtual ~AutoEnrollmentCheckScreenActor() {} |
| virtual void Show() = 0; |
| - virtual void Hide() = 0; |
| virtual void SetDelegate(Delegate* delegate) = 0; |
| }; |
| } // namespace chromeos |
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HID_DETECTION_SCREEN_ACTOR_H_ |
| - |
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_AUTO_ENROLLMENT_CHECK_SCREEN_ACTOR_H_ |