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.h" |
10 #include "base/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 } |
20 | 20 |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 const std::string& account_id, | 159 const std::string& account_id, |
160 const std::string& policy_blob) { | 160 const std::string& policy_blob) { |
161 device_local_account_policy_[account_id] = policy_blob; | 161 device_local_account_policy_[account_id] = policy_blob; |
162 } | 162 } |
163 | 163 |
164 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { | 164 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { |
165 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); | 165 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); |
166 } | 166 } |
167 | 167 |
168 } // namespace chromeos | 168 } // namespace chromeos |
OLD | NEW |