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

Side by Side Diff: components/session_manager/core/session_manager_observer.h

Issue 2510983002: session_manager: Add SessionManagerObserver interface (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « components/session_manager/core/session_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef COMPONENTS_SESSION_MANAGER_CORE_SESSION_MANAGER_OBSERVER_H_
6 #define COMPONENTS_SESSION_MANAGER_CORE_SESSION_MANAGER_OBSERVER_H_
7
8 #include "components/session_manager/session_manager_types.h"
9
10 namespace session_manager {
11
12 // An observer interface for SessionManager.
13 // TODO(xiyuan): Use this to replace UserManager::UserSessionStateObserver.
achuithb 2016/11/17 00:31:23 Is there a bug that could be referenced here?
xiyuan 2016/11/17 16:57:24 Done. Used my refactoring tracking bug http://crbu
14 class SessionManagerObserver {
15 public:
16 // Invoked when session state is changed.
17 virtual void OnSessionStateChanged() = 0;
18 };
achuithb 2016/11/17 00:31:23 Let's add public: SessionManagerObserver() = def
xiyuan 2016/11/17 16:57:24 Added the virtual dtor and DISALLOW_COPY_AND_ASSIG
19
20 } // namespace session_manager
21
22 #endif // COMPONENTS_SESSION_MANAGER_CORE_SESSION_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/session_manager/core/session_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698