From c5fd536cbf85dea5a3bc200a515bdf6cf75b2576 Mon Sep 17 00:00:00 2001 From: "pneubeck@chromium.org" Date: Tue, 27 Aug 2013 12:23:04 +0000 Subject: Split construction and initialization of DBus clients. Before, each Client had a Create function which constructed an instance of the client and initialized it (with a dbus::Bus*). To make the Clients separately replaceable in the DBusThreadManager, it's necessary to separate the construction of the Clients from their initialization. This CL, splits each Create function into Create (which only calls the constructor of either the real Impl or the Stub) and Init(dbus::Bus*). This is a pure refactoring. BUG=275286 Review URL: https://chromiumcodereview.appspot.com/23119006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219775 0039d316-1c4b-4281-b951-d872f2087c98 --- chromeos/dbus/fake_bluetooth_agent_manager_client.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chromeos/dbus/fake_bluetooth_agent_manager_client.cc') diff --git a/chromeos/dbus/fake_bluetooth_agent_manager_client.cc b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc index 57759ff..2672ad5 100644 --- a/chromeos/dbus/fake_bluetooth_agent_manager_client.cc +++ b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc @@ -19,6 +19,9 @@ FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() { } +void FakeBluetoothAgentManagerClient::Init(dbus::Bus* bus) { +} + void FakeBluetoothAgentManagerClient::RegisterAgent( const dbus::ObjectPath& agent_path, const std::string& capability, -- cgit v1.1