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

Side by Side Diff: chromeos/dbus/session_manager_client.h

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 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 unified diff | Download patch
« no previous file with comments | « chromeos/dbus/power_manager_client.cc ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "chrome/browser/chromeos/dbus/dbus_client_implementation_type.h" 10 #include "chromeos/chromeos_export.h"
11 #include "chromeos/dbus/dbus_client_implementation_type.h"
11 12
12 #include <string> 13 #include <string>
13 14
14 namespace dbus { 15 namespace dbus {
15 class Bus; 16 class Bus;
16 } // namespace 17 } // namespace
17 18
18 namespace chromeos { 19 namespace chromeos {
19 20
20 // SessionManagerClient is used to communicate with the session manager. 21 // SessionManagerClient is used to communicate with the session manager.
21 class SessionManagerClient { 22 class CHROMEOS_EXPORT SessionManagerClient {
22 public: 23 public:
23 // Interface for observing changes from the session manager. 24 // Interface for observing changes from the session manager.
24 class Observer { 25 class Observer {
25 public: 26 public:
26 // Called when the owner key is set. 27 // Called when the owner key is set.
27 virtual void OwnerKeySet(bool success) {} 28 virtual void OwnerKeySet(bool success) {}
28 // Called when the property change is complete. 29 // Called when the property change is complete.
29 virtual void PropertyChangeComplete(bool success) {} 30 virtual void PropertyChangeComplete(bool success) {}
30 }; 31 };
31 32
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 protected: 91 protected:
91 // Create() should be used instead. 92 // Create() should be used instead.
92 SessionManagerClient(); 93 SessionManagerClient();
93 94
94 private: 95 private:
95 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); 96 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient);
96 }; 97 };
97 98
98 } // namespace chromeos 99 } // namespace chromeos
99 100
100 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 101 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/power_manager_client.cc ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698