OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/bluetooth_input_client.h" | 5 #include "chromeos/dbus/bluetooth_input_client.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "dbus/bus.h" | 11 #include "dbus/bus.h" |
12 #include "dbus/message.h" | 12 #include "dbus/message.h" |
13 #include "dbus/object_manager.h" | 13 #include "dbus/object_manager.h" |
14 #include "dbus/object_path.h" | |
15 #include "dbus/object_proxy.h" | 14 #include "dbus/object_proxy.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 16 |
18 namespace chromeos { | 17 namespace chromeos { |
19 | 18 |
20 BluetoothInputClient::Properties::Properties( | 19 BluetoothInputClient::Properties::Properties( |
21 dbus::ObjectProxy* object_proxy, | 20 dbus::ObjectProxy* object_proxy, |
22 const std::string& interface_name, | 21 const std::string& interface_name, |
23 const PropertyChangedCallback& callback) | 22 const PropertyChangedCallback& callback) |
24 : dbus::PropertySet(object_proxy, interface_name, callback) { | 23 : dbus::PropertySet(object_proxy, interface_name, callback) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 } | 128 } |
130 | 129 |
131 BluetoothInputClient::~BluetoothInputClient() { | 130 BluetoothInputClient::~BluetoothInputClient() { |
132 } | 131 } |
133 | 132 |
134 BluetoothInputClient* BluetoothInputClient::Create() { | 133 BluetoothInputClient* BluetoothInputClient::Create() { |
135 return new BluetoothInputClientImpl(); | 134 return new BluetoothInputClientImpl(); |
136 } | 135 } |
137 | 136 |
138 } // namespace chromeos | 137 } // namespace chromeos |
OLD | NEW |