| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/mock_dbus_thread_manager.h" | 5 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
| 6 | 6 |
| 7 #include "chromeos/dbus/dbus_thread_manager_observer.h" | 7 #include "chromeos/dbus/dbus_thread_manager_observer.h" |
| 8 #include "chromeos/dbus/fake_bluetooth_adapter_client.h" | 8 #include "chromeos/dbus/fake_bluetooth_adapter_client.h" |
| 9 #include "chromeos/dbus/fake_bluetooth_agent_manager_client.h" | 9 #include "chromeos/dbus/fake_bluetooth_agent_manager_client.h" |
| 10 #include "chromeos/dbus/fake_bluetooth_device_client.h" | 10 #include "chromeos/dbus/fake_bluetooth_device_client.h" |
| 11 #include "chromeos/dbus/fake_bluetooth_input_client.h" | 11 #include "chromeos/dbus/fake_bluetooth_input_client.h" |
| 12 #include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" | 12 #include "chromeos/dbus/fake_bluetooth_profile_manager_client.h" |
| 13 #include "chromeos/dbus/ibus/mock_ibus_client.h" | 13 #include "chromeos/dbus/ibus/mock_ibus_client.h" |
| 14 #include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h" | 14 #include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h" |
| 15 #include "chromeos/dbus/ibus/mock_ibus_engine_service.h" | 15 #include "chromeos/dbus/ibus/mock_ibus_engine_service.h" |
| 16 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" | 16 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" |
| 17 #include "chromeos/dbus/ibus/mock_ibus_panel_service.h" | |
| 18 #include "chromeos/dbus/mock_cryptohome_client.h" | 17 #include "chromeos/dbus/mock_cryptohome_client.h" |
| 19 #include "chromeos/dbus/mock_shill_device_client.h" | 18 #include "chromeos/dbus/mock_shill_device_client.h" |
| 20 #include "chromeos/dbus/mock_shill_ipconfig_client.h" | 19 #include "chromeos/dbus/mock_shill_ipconfig_client.h" |
| 21 #include "chromeos/dbus/mock_shill_manager_client.h" | 20 #include "chromeos/dbus/mock_shill_manager_client.h" |
| 22 #include "chromeos/dbus/mock_shill_profile_client.h" | 21 #include "chromeos/dbus/mock_shill_profile_client.h" |
| 23 #include "chromeos/dbus/mock_shill_service_client.h" | 22 #include "chromeos/dbus/mock_shill_service_client.h" |
| 24 #include "chromeos/dbus/mock_gsm_sms_client.h" | 23 #include "chromeos/dbus/mock_gsm_sms_client.h" |
| 25 #include "chromeos/dbus/mock_session_manager_client.h" | 24 #include "chromeos/dbus/mock_session_manager_client.h" |
| 26 #include "chromeos/dbus/power_policy_controller.h" | 25 #include "chromeos/dbus/power_policy_controller.h" |
| 27 | 26 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 observers_.AddObserver(observer); | 135 observers_.AddObserver(observer); |
| 137 } | 136 } |
| 138 | 137 |
| 139 void MockDBusThreadManager::RemoveObserver( | 138 void MockDBusThreadManager::RemoveObserver( |
| 140 DBusThreadManagerObserver* observer) { | 139 DBusThreadManagerObserver* observer) { |
| 141 DCHECK(observer); | 140 DCHECK(observer); |
| 142 observers_.RemoveObserver(observer); | 141 observers_.RemoveObserver(observer); |
| 143 } | 142 } |
| 144 | 143 |
| 145 } // namespace chromeos | 144 } // namespace chromeos |
| OLD | NEW |