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_image_burner_client.h" | 15 #include "chromeos/dbus/mock_image_burner_client.h" |
16 #include "chrome/browser/chromeos/dbus/mock_introspectable_client.h" | 16 #include "chromeos/dbus/mock_introspectable_client.h" |
17 #include "chrome/browser/chromeos/dbus/mock_power_manager_client.h" | 17 #include "chromeos/dbus/mock_power_manager_client.h" |
18 #include "chrome/browser/chromeos/dbus/mock_session_manager_client.h" | 18 #include "chromeos/dbus/mock_session_manager_client.h" |
19 #include "chrome/browser/chromeos/dbus/mock_speech_synthesizer_client.h" | 19 #include "chromeos/dbus/mock_speech_synthesizer_client.h" |
20 #include "chrome/browser/chromeos/dbus/mock_update_engine_client.h" | 20 #include "chromeos/dbus/mock_update_engine_client.h" |
21 | 21 |
22 using ::testing::AnyNumber; | 22 using ::testing::AnyNumber; |
23 using ::testing::Return; | 23 using ::testing::Return; |
24 using ::testing::_; | 24 using ::testing::_; |
25 | 25 |
26 namespace chromeos { | 26 namespace chromeos { |
27 | 27 |
28 MockDBusThreadManager::MockDBusThreadManager() | 28 MockDBusThreadManager::MockDBusThreadManager() |
29 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), | 29 : mock_bluetooth_adapter_client_(new MockBluetoothAdapterClient), |
30 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), | 30 mock_bluetooth_device_client_(new MockBluetoothDeviceClient), |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 .Times(AnyNumber()); | 88 .Times(AnyNumber()); |
89 | 89 |
90 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. | 90 // Called from DiskMountManager::Initialize(), ChromeBrowserMainPartsChromeos. |
91 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) | 91 EXPECT_CALL(*mock_cros_disks_client_.get(), SetUpConnections(_, _)) |
92 .Times(AnyNumber()); | 92 .Times(AnyNumber()); |
93 } | 93 } |
94 | 94 |
95 MockDBusThreadManager::~MockDBusThreadManager() {} | 95 MockDBusThreadManager::~MockDBusThreadManager() {} |
96 | 96 |
97 } // namespace chromeos | 97 } // namespace chromeos |
OLD | NEW |