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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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/fake_power_manager_client.h ('k') | chromeos/dbus/fake_shill_manager_client.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // Returns how many times LockScreenDismissed() was called. 96 // Returns how many times LockScreenDismissed() was called.
97 int notify_lock_screen_dismissed_call_count() const { 97 int notify_lock_screen_dismissed_call_count() const {
98 return notify_lock_screen_dismissed_call_count_; 98 return notify_lock_screen_dismissed_call_count_;
99 } 99 }
100 100
101 private: 101 private:
102 std::string device_policy_; 102 std::string device_policy_;
103 std::map<std::string, std::string> user_policies_; 103 std::map<std::string, std::string> user_policies_;
104 std::map<std::string, std::string> device_local_account_policy_; 104 std::map<std::string, std::string> device_local_account_policy_;
105 ObserverList<Observer> observers_; 105 base::ObserverList<Observer> observers_;
106 SessionManagerClient::ActiveSessionsMap user_sessions_; 106 SessionManagerClient::ActiveSessionsMap user_sessions_;
107 std::vector<std::string> server_backed_state_keys_; 107 std::vector<std::string> server_backed_state_keys_;
108 108
109 int start_device_wipe_call_count_; 109 int start_device_wipe_call_count_;
110 int notify_lock_screen_shown_call_count_; 110 int notify_lock_screen_shown_call_count_;
111 int notify_lock_screen_dismissed_call_count_; 111 int notify_lock_screen_dismissed_call_count_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); 113 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
114 }; 114 };
115 115
116 } // namespace chromeos 116 } // namespace chromeos
117 117
118 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 118 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_power_manager_client.h ('k') | chromeos/dbus/fake_shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698