| 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/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| 11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 #include "chromeos/dbus/cryptohome_client.h" | 12 #include "chromeos/dbus/cryptohome_client.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 FakeSessionManagerClient::FakeSessionManagerClient() | 16 FakeSessionManagerClient::FakeSessionManagerClient() |
| 17 : start_device_wipe_call_count_(0), | 17 : start_device_wipe_call_count_(0), |
| 18 notify_lock_screen_shown_call_count_(0), | 18 notify_lock_screen_shown_call_count_(0), |
| 19 notify_lock_screen_dismissed_call_count_(0), | 19 notify_lock_screen_dismissed_call_count_(0), |
| 20 arc_available_(false) {} | 20 arc_available_(false) {} |
| 21 | 21 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 const std::string& account_id, | 208 const std::string& account_id, |
| 209 const std::string& policy_blob) { | 209 const std::string& policy_blob) { |
| 210 device_local_account_policy_[account_id] = policy_blob; | 210 device_local_account_policy_[account_id] = policy_blob; |
| 211 } | 211 } |
| 212 | 212 |
| 213 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { | 213 void FakeSessionManagerClient::OnPropertyChangeComplete(bool success) { |
| 214 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); | 214 FOR_EACH_OBSERVER(Observer, observers_, PropertyChangeComplete(success)); |
| 215 } | 215 } |
| 216 | 216 |
| 217 } // namespace chromeos | 217 } // namespace chromeos |
| OLD | NEW |