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

Unified Diff: ash/wm/lock_state_observer.h

Issue 15974008: Rename SessionStateController -> LockStateController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/lock_state_controller_impl2_unittest.cc ('k') | ash/wm/power_button_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_observer.h
diff --git a/ash/wm/session_state_observer.h b/ash/wm/lock_state_observer.h
similarity index 54%
rename from ash/wm/session_state_observer.h
rename to ash/wm/lock_state_observer.h
index 8df4018fb9e544d82b98630ca8c1abe691e4f026..bb5524afe04a1371fd1e7f9461c9074c988c05d7 100644
--- a/ash/wm/session_state_observer.h
+++ b/ash/wm/lock_state_observer.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 ASH_WM_SESSION_STATE_OBSERVER_H_
-#define ASH_WM_SESSION_STATE_OBSERVER_H_
+#ifndef ASH_WM_LOCK_STATE_OBSERVER_H_
+#define ASH_WM_LOCK_STATE_OBSERVER_H_
#include "ash/ash_export.h"
namespace ash {
-// Interface for classes that want to be notified by SessionStateController when
+// Interface for classes that want to be notified by LockStateController when
// session-related events occur.
-class ASH_EXPORT SessionStateObserver {
+class ASH_EXPORT LockStateObserver {
public:
enum EventType {
EVENT_PRELOCK_ANIMATION_STARTED,
@@ -19,10 +19,10 @@ class ASH_EXPORT SessionStateObserver {
EVENT_LOCK_ANIMATION_FINISHED,
};
- virtual void OnSessionStateEvent(EventType event) = 0;
- virtual ~SessionStateObserver() {};
+ virtual void OnLockStateEvent(EventType event) = 0;
+ virtual ~LockStateObserver() {}
};
} // namespace ash
-#endif // ASH_WM_SESSION_STATE_CONTROLLER_H_
+#endif // ASH_WM_LOCK_STATE_OBSERVER_H_
« no previous file with comments | « ash/wm/lock_state_controller_impl2_unittest.cc ('k') | ash/wm/power_button_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698