Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc

Issue 14048007: Bluetooth: D-Bus client interface for org.bluez.Input1 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: interface deletion order fixed. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_without_gmock.h" 5 #include "chromeos/dbus/mock_dbus_thread_manager_without_gmock.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_profile_manager_client.h" 12 #include "chromeos/dbus/fake_bluetooth_profile_manager_client.h"
12 #include "chromeos/dbus/ibus/mock_ibus_client.h" 13 #include "chromeos/dbus/ibus/mock_ibus_client.h"
13 #include "chromeos/dbus/ibus/mock_ibus_config_client.h" 14 #include "chromeos/dbus/ibus/mock_ibus_config_client.h"
14 #include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h" 15 #include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h"
15 #include "chromeos/dbus/ibus/mock_ibus_engine_service.h" 16 #include "chromeos/dbus/ibus/mock_ibus_engine_service.h"
16 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h" 17 #include "chromeos/dbus/ibus/mock_ibus_input_context_client.h"
17 #include "chromeos/dbus/ibus/mock_ibus_panel_service.h" 18 #include "chromeos/dbus/ibus/mock_ibus_panel_service.h"
18 19
19 namespace chromeos { 20 namespace chromeos {
20 21
21 MockDBusThreadManagerWithoutGMock::MockDBusThreadManagerWithoutGMock() 22 MockDBusThreadManagerWithoutGMock::MockDBusThreadManagerWithoutGMock()
22 : fake_bluetooth_adapter_client_(new FakeBluetoothAdapterClient()), 23 : fake_bluetooth_adapter_client_(new FakeBluetoothAdapterClient()),
23 fake_bluetooth_agent_manager_client_(new FakeBluetoothAgentManagerClient()), 24 fake_bluetooth_agent_manager_client_(new FakeBluetoothAgentManagerClient()),
24 fake_bluetooth_device_client_(new FakeBluetoothDeviceClient()), 25 fake_bluetooth_device_client_(new FakeBluetoothDeviceClient()),
26 fake_bluetooth_input_client_(new FakeBluetoothInputClient()),
25 fake_bluetooth_profile_manager_client_( 27 fake_bluetooth_profile_manager_client_(
26 new FakeBluetoothProfileManagerClient()), 28 new FakeBluetoothProfileManagerClient()),
27 mock_ibus_client_(new MockIBusClient), 29 mock_ibus_client_(new MockIBusClient),
28 mock_ibus_input_context_client_(new MockIBusInputContextClient), 30 mock_ibus_input_context_client_(new MockIBusInputContextClient),
29 ibus_bus_(NULL) { 31 ibus_bus_(NULL) {
30 } 32 }
31 33
32 MockDBusThreadManagerWithoutGMock::~MockDBusThreadManagerWithoutGMock() { 34 MockDBusThreadManagerWithoutGMock::~MockDBusThreadManagerWithoutGMock() {
33 FOR_EACH_OBSERVER(DBusThreadManagerObserver, observers_, 35 FOR_EACH_OBSERVER(DBusThreadManagerObserver, observers_,
34 OnDBusThreadManagerDestroying(this)); 36 OnDBusThreadManagerDestroying(this));
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 MockDBusThreadManagerWithoutGMock:: 122 MockDBusThreadManagerWithoutGMock::
121 GetExperimentalBluetoothAgentManagerClient() { 123 GetExperimentalBluetoothAgentManagerClient() {
122 return fake_bluetooth_agent_manager_client_.get(); 124 return fake_bluetooth_agent_manager_client_.get();
123 } 125 }
124 126
125 ExperimentalBluetoothDeviceClient* 127 ExperimentalBluetoothDeviceClient*
126 MockDBusThreadManagerWithoutGMock::GetExperimentalBluetoothDeviceClient() { 128 MockDBusThreadManagerWithoutGMock::GetExperimentalBluetoothDeviceClient() {
127 return fake_bluetooth_device_client_.get(); 129 return fake_bluetooth_device_client_.get();
128 } 130 }
129 131
132 ExperimentalBluetoothInputClient*
133 MockDBusThreadManagerWithoutGMock::GetExperimentalBluetoothInputClient() {
134 return fake_bluetooth_input_client_.get();
135 }
136
130 ExperimentalBluetoothProfileManagerClient* 137 ExperimentalBluetoothProfileManagerClient*
131 MockDBusThreadManagerWithoutGMock:: 138 MockDBusThreadManagerWithoutGMock::
132 GetExperimentalBluetoothProfileManagerClient() { 139 GetExperimentalBluetoothProfileManagerClient() {
133 return fake_bluetooth_profile_manager_client_.get(); 140 return fake_bluetooth_profile_manager_client_.get();
134 } 141 }
135 142
136 ShillDeviceClient* 143 ShillDeviceClient*
137 MockDBusThreadManagerWithoutGMock::GetShillDeviceClient() { 144 MockDBusThreadManagerWithoutGMock::GetShillDeviceClient() {
138 NOTIMPLEMENTED(); 145 NOTIMPLEMENTED();
139 return NULL; 146 return NULL;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 261
255 void MockDBusThreadManagerWithoutGMock::RemoveIBusEngineService( 262 void MockDBusThreadManagerWithoutGMock::RemoveIBusEngineService(
256 const dbus::ObjectPath& object_path) { 263 const dbus::ObjectPath& object_path) {
257 } 264 }
258 265
259 IBusPanelService* MockDBusThreadManagerWithoutGMock::GetIBusPanelService() { 266 IBusPanelService* MockDBusThreadManagerWithoutGMock::GetIBusPanelService() {
260 return mock_ibus_panel_service_.get(); 267 return mock_ibus_panel_service_.get();
261 } 268 }
262 269
263 } // namespace chromeos 270 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager_without_gmock.h ('k') | device/bluetooth/bluetooth_device_experimental_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698