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

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

Issue 15929005: [CrOS multi-profiles] Restore user sessions after crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chromeos/dbus/fake_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 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 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Returns how many times LockScreenDismissed() was called. 86 // Returns how many times LockScreenDismissed() was called.
87 int notify_lock_screen_dismissed_call_count() { 87 int notify_lock_screen_dismissed_call_count() {
88 return notify_lock_screen_dismissed_call_count_; 88 return notify_lock_screen_dismissed_call_count_;
89 } 89 }
90 90
91 private: 91 private:
92 std::string device_policy_; 92 std::string device_policy_;
93 std::map<std::string, std::string> user_policies_; 93 std::map<std::string, std::string> user_policies_;
94 std::map<std::string, std::string> device_local_account_policy_; 94 std::map<std::string, std::string> device_local_account_policy_;
95 ObserverList<Observer> observers_; 95 ObserverList<Observer> observers_;
96 SessionManagerClient::ActiveSessionsMap user_sessions_;
96 97
97 int emit_login_prompt_ready_call_count_; 98 int emit_login_prompt_ready_call_count_;
98 int notify_lock_screen_shown_call_count_; 99 int notify_lock_screen_shown_call_count_;
99 int notify_lock_screen_dismissed_call_count_; 100 int notify_lock_screen_dismissed_call_count_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); 102 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient);
102 }; 103 };
103 104
104 } // namespace chromeos 105 } // namespace chromeos
105 106
106 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ 107 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698