| 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 "chrome/browser/chromeos/dbus/mock_dbus_thread_manager.h" | 5 #include "chromeos/dbus/mock_dbus_thread_manager.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/dbus/mock_bluetooth_adapter_client.h" | 7 #include "chromeos/dbus/mock_bluetooth_adapter_client.h" |
| 8 #include "chrome/browser/chromeos/dbus/mock_bluetooth_device_client.h" | 8 #include "chromeos/dbus/mock_bluetooth_device_client.h" |
| 9 #include "chrome/browser/chromeos/dbus/mock_bluetooth_input_client.h" | 9 #include "chromeos/dbus/mock_bluetooth_input_client.h" |
| 10 #include "chrome/browser/chromeos/dbus/mock_bluetooth_manager_client.h" | 10 #include "chromeos/dbus/mock_bluetooth_manager_client.h" |
| 11 #include "chrome/browser/chromeos/dbus/mock_bluetooth_node_client.h" | 11 #include "chromeos/dbus/mock_bluetooth_node_client.h" |
| 12 #include "chrome/browser/chromeos/dbus/mock_cashew_client.h" | 12 #include "chromeos/dbus/mock_cashew_client.h" |
| 13 #include "chrome/browser/chromeos/dbus/mock_cros_disks_client.h" | 13 #include "chromeos/dbus/mock_cros_disks_client.h" |
| 14 #include "chrome/browser/chromeos/dbus/mock_cryptohome_client.h" | 14 #include "chromeos/dbus/mock_cryptohome_client.h" |
| 15 #include "chrome/browser/chromeos/dbus/mock_flimflam_ipconfig_client.h" | 15 #include "chromeos/dbus/mock_flimflam_ipconfig_client.h" |
| 16 #include "chrome/browser/chromeos/dbus/mock_flimflam_network_client.h" | 16 #include "chromeos/dbus/mock_flimflam_network_client.h" |
| 17 #include "chrome/browser/chromeos/dbus/mock_flimflam_profile_client.h" | 17 #include "chromeos/dbus/mock_flimflam_profile_client.h" |
| 18 #include "chrome/browser/chromeos/dbus/mock_image_burner_client.h" | 18 #include "chromeos/dbus/mock_image_burner_client.h" |
| 19 #include "chrome/browser/chromeos/dbus/mock_introspectable_client.h" | 19 #include "chromeos/dbus/mock_introspectable_client.h" |
| 20 #include "chrome/browser/chromeos/dbus/mock_power_manager_client.h" | 20 #include "chromeos/dbus/mock_power_manager_client.h" |
| 21 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h" | 21 #include "chromeos/dbus/mock_session_manager_client.h" |
| 22 #include "chrome/browser/chromeos/dbus/mock_speech_synthesizer_client.h" | 22 #include "chromeos/dbus/mock_speech_synthesizer_client.h" |
| 23 #include "chrome/browser/chromeos/dbus/mock_update_engine_client.h" | 23 #include "chromeos/dbus/mock_update_engine_client.h" |
| 24 | 24 |
| 25 using ::testing::AnyNumber; | 25 using ::testing::AnyNumber; |
| 26 using ::testing::Return; | 26 using ::testing::Return; |
| 27 using ::testing::_; | 27 using ::testing::_; |
| 28 | 28 |
| 29 namespace chromeos { | 29 namespace chromeos { |
| 30 | 30 |
| 31 MockDBusThreadManager::MockDBusThreadManager() | 31 MockDBusThreadManager::MockDBusThreadManager() |
| 32 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), | 32 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), |
| 33 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), | 33 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 .Times(AnyNumber()); | 100 .Times(AnyNumber()); |
| 101 | 101 |
| 102 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. | 102 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. |
| 103 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) | 103 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) |
| 104 .Times(AnyNumber()); | 104 .Times(AnyNumber()); |
| 105 } | 105 } |
| 106 | 106 |
| 107 MockDBusThreadManager::~MockDBusThreadManager() {} | 107 MockDBusThreadManager::~MockDBusThreadManager() {} |
| 108 | 108 |
| 109 } // namespace chromeos | 109 } // namespace chromeos |
| OLD | NEW |