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

Unified Diff: chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h

Issue 539273002: Added UI to enable debugging features on CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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 60%
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..2b1592f22f01cfcba6fdb3b6d4dd943e4a74581c 100644
--- a/chrome/browser/chromeos/login/screens/reset_screen_actor.h
+++ b/chrome/browser/chromeos/login/screens/enable_debugging_screen_actor.h
@@ -2,16 +2,16 @@
// 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>
namespace chromeos {
-// Interface between reset screen and its representation.
+// Interface between enable debugging screen and its representation.
// 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_

Powered by Google App Engine
This is Rietveld 408576698