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_debug_daemon_client.h" | 15 #include "chromeos/dbus/mock_debug_daemon_client.h" |
16 #include "chrome/browser/chromeos/dbus/mock_flimflam_ipconfig_client.h" | 16 #include "chromeos/dbus/mock_flimflam_ipconfig_client.h" |
17 #include "chrome/browser/chromeos/dbus/mock_flimflam_network_client.h" | 17 #include "chromeos/dbus/mock_flimflam_network_client.h" |
18 #include "chrome/browser/chromeos/dbus/mock_flimflam_profile_client.h" | 18 #include "chromeos/dbus/mock_flimflam_profile_client.h" |
19 #include "chrome/browser/chromeos/dbus/mock_image_burner_client.h" | 19 #include "chromeos/dbus/mock_image_burner_client.h" |
20 #include "chrome/browser/chromeos/dbus/mock_introspectable_client.h" | 20 #include "chromeos/dbus/mock_introspectable_client.h" |
21 #include "chrome/browser/chromeos/dbus/mock_power_manager_client.h" | 21 #include "chromeos/dbus/mock_power_manager_client.h" |
22 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h" | 22 #include "chromeos/dbus/mock_session_manager_client.h" |
23 #include "chrome/browser/chromeos/dbus/mock_speech_synthesizer_client.h" | 23 #include "chromeos/dbus/mock_speech_synthesizer_client.h" |
24 #include "chrome/browser/chromeos/dbus/mock_update_engine_client.h" | 24 #include "chromeos/dbus/mock_update_engine_client.h" |
25 | 25 |
26 using ::testing::AnyNumber; | 26 using ::testing::AnyNumber; |
27 using ::testing::Return; | 27 using ::testing::Return; |
28 using ::testing::_; | 28 using ::testing::_; |
29 | 29 |
30 namespace chromeos { | 30 namespace chromeos { |
31 | 31 |
32 MockDBusThreadManager::MockDBusThreadManager() | 32 MockDBusThreadManager::MockDBusThreadManager() |
33 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), | 33 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), |
34 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), | 34 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 .Times(AnyNumber()); | 104 .Times(AnyNumber()); |
105 | 105 |
106 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. | 106 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. |
107 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) | 107 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) |
108 .Times(AnyNumber()); | 108 .Times(AnyNumber()); |
109 } | 109 } |
110 | 110 |
111 MockDBusThreadManager::~MockDBusThreadManager() {} | 111 MockDBusThreadManager::~MockDBusThreadManager() {} |
112 | 112 |
113 } // namespace chromeos | 113 } // namespace chromeos |
OLD | NEW |