libchromeos: fix linter issues
Fixed various issues reported by cpplint.py when run on
src/platform2/libchromeos.
BUG=None
TEST=cpplint.py `find libchromeos/* | grep "\.cc\|\.h"`
FEATURES=FEATURES=test emerge-link libchromeos
Change-Id: Iae7b43d4a2f0149a3cdc1bc4a0ddd39fd8e79e64
Reviewed-on: https://chromium-review.googlesource.com/210663
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/chromeos/dbus/dbus.h b/chromeos/dbus/dbus.h
index 979608c..8521aef 100644
--- a/chromeos/dbus/dbus.h
+++ b/chromeos/dbus/dbus.h
@@ -200,7 +200,7 @@
class MonitorConnection;
template <typename A1>
-class MonitorConnection<void (A1)> {
+class MonitorConnection<void(A1)> {
public:
MonitorConnection(const Proxy& proxy, const char* name,
void (*monitor)(void*, A1), void* object)
@@ -225,7 +225,7 @@
};
template <typename A1, typename A2>
-class MonitorConnection<void (A1, A2)> {
+class MonitorConnection<void(A1, A2)> {
public:
MonitorConnection(const Proxy& proxy, const char* name,
void (*monitor)(void*, A1, A2), void* object)
@@ -250,7 +250,7 @@
};
template <typename A1, typename A2, typename A3>
-class MonitorConnection<void (A1, A2, A3)> {
+class MonitorConnection<void(A1, A2, A3)> {
public:
MonitorConnection(const Proxy& proxy, const char* name,
void (*monitor)(void*, A1, A2, A3), void* object)
@@ -275,7 +275,7 @@
};
template <typename A1, typename A2, typename A3, typename A4>
-class MonitorConnection<void (A1, A2, A3, A4)> {
+class MonitorConnection<void(A1, A2, A3, A4)> {
public:
MonitorConnection(const Proxy& proxy, const char* name,
void (*monitor)(void*, A1, A2, A3, A4), void* object)
@@ -301,9 +301,9 @@
};
template <typename A1>
-MonitorConnection<void (A1)>* Monitor(const Proxy& proxy, const char* name,
- void (*monitor)(void*, A1),
- void* object) {
+MonitorConnection<void(A1)>* Monitor(const Proxy& proxy, const char* name,
+ void (*monitor)(void*, A1),
+ void* object) {
typedef MonitorConnection<void (A1)> ConnectionType;
ConnectionType* result = new ConnectionType(proxy, name, monitor, object);
@@ -317,9 +317,9 @@
}
template <typename A1, typename A2>
-MonitorConnection<void (A1, A2)>* Monitor(const Proxy& proxy, const char* name,
- void (*monitor)(void*, A1, A2),
- void* object) {
+MonitorConnection<void(A1, A2)>* Monitor(const Proxy& proxy, const char* name,
+ void (*monitor)(void*, A1, A2),
+ void* object) {
typedef MonitorConnection<void (A1, A2)> ConnectionType;
ConnectionType* result = new ConnectionType(proxy, name, monitor, object);
@@ -335,7 +335,7 @@
}
template <typename A1, typename A2, typename A3>
-MonitorConnection<void (A1, A2, A3)>* Monitor(const Proxy& proxy,
+MonitorConnection<void(A1, A2, A3)>* Monitor(const Proxy& proxy,
const char* name,
void (*monitor)(void*, A1, A2, A3),
void* object) {
@@ -355,7 +355,7 @@
}
template <typename A1, typename A2, typename A3, typename A4>
-MonitorConnection<void (A1, A2, A3, A4)>* Monitor(const Proxy& proxy,
+MonitorConnection<void(A1, A2, A3, A4)>* Monitor(const Proxy& proxy,
const char* name,
void (*monitor)(void*, A1, A2, A3, A4),
void* object) {