OLD | NEW |
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 #include "chromeos/dbus/fake_session_manager_client.h" | 5 #include "chromeos/dbus/fake_session_manager_client.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "chromeos/dbus/cryptohome_client.h" | 11 #include "chromeos/dbus/cryptohome_client.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 FakeSessionManagerClient::FakeSessionManagerClient() | 15 FakeSessionManagerClient::FakeSessionManagerClient() |
16 : emit_login_prompt_ready_call_count_(0) , | 16 : emit_login_prompt_ready_call_count_(0) , |
17 notify_lock_screen_shown_call_count_(0), | 17 notify_lock_screen_shown_call_count_(0), |
18 notify_lock_screen_dismissed_call_count_(0){ | 18 notify_lock_screen_dismissed_call_count_(0){ |
19 } | 19 } |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 const std::string& account_id, | 164 const std::string& account_id, |
165 const std::string& policy_blob) { | 165 const std::string& policy_blob) { |
166 device_local_account_policy_[account_id] = policy_blob; | 166 device_local_account_policy_[account_id] = policy_blob; |
167 } | 167 } |
168 | 168 |
169 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { | 169 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { |
170 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); | 170 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); |
171 } | 171 } |
172 | 172 |
173 } // namespace chromeos | 173 } // namespace chromeos |
OLD | NEW |