OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_MANAGER_OBSERVER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_MANAGER_OBSERVER_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | |
10 #include "chromeos/dbus/session_manager_client.h" | |
11 | |
12 namespace chromeos { | |
13 | |
14 // SessionManagerObserver is used to take actions per signals sent from the | |
15 // session manager. | |
16 class SessionManagerObserver : public SessionManagerClient::Observer { | |
17 public: | |
18 SessionManagerObserver(); | |
19 virtual ~SessionManagerObserver(); | |
20 | |
21 private: | |
22 // SessionManagerClient::Observer override. | |
23 virtual void OwnerKeySet(bool success) OVERRIDE; | |
24 // SessionManagerClient::Observer override. | |
25 virtual void PropertyChangeComplete(bool success) OVERRIDE; | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(SessionManagerObserver); | |
28 }; | |
29 | |
30 } // namespace chromeos | |
31 | |
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SESSION_MANAGER_OBSERVER_H_ | |
OLD | NEW |