Chromium Code Reviews| Index: chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h |
| diff --git a/chrome/browser/chromeos/login/screens/reset_screen_actor.h b/chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h |
| similarity index 65% |
| copy from chrome/browser/chromeos/login/screens/reset_screen_actor.h |
| copy to chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h |
| index ea8a83acc53407eb835af4ae90d03e196b8c9318..d798ca00b7e5404017530e4a9efb5330937155fa 100644 |
| --- a/chrome/browser/chromeos/login/screens/reset_screen_actor.h |
| +++ b/chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h |
| @@ -2,8 +2,8 @@ |
| // 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_RESET_SCREEN_ACTOR_H_ |
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_ACTOR_H_ |
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_ACTOR_H_ |
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_ACTOR_H_ |
| #include <string> |
| @@ -11,7 +11,7 @@ namespace chromeos { |
| // Interface between reset screen and its representation. |
|
xiyuan
2014/10/30 03:52:08
nit: Update comment.
zel
2014/10/31 01:22:26
Done.
|
| // Note, do not forget to call OnActorDestroyed in the dtor. |
| -class ResetScreenActor { |
| +class EnableDebuggingScreenActor { |
| public: |
| // Allows us to get info from reset screen that we need. |
| class Delegate { |
| @@ -19,14 +19,14 @@ class ResetScreenActor { |
| virtual ~Delegate() {} |
| // Called when screen is exited. |
| - virtual void OnExit() = 0; |
| + virtual void OnExit(bool success) = 0; |
| // 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(ResetScreenActor* actor) = 0; |
| + virtual void OnActorDestroyed(EnableDebuggingScreenActor* actor) = 0; |
| }; |
| - virtual ~ResetScreenActor() {} |
| + virtual ~EnableDebuggingScreenActor() {} |
| virtual void PrepareToShow() = 0; |
| virtual void Show() = 0; |
| @@ -36,4 +36,4 @@ class ResetScreenActor { |
| } // namespace chromeos |
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_RESET_SCREEN_ACTOR_H_ |
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ENABLE_DEBUGGING_SCREEN_ACTOR_H_ |