debugd: Fix coding style and cpplint issues.
BUG=chromium:385849
TEST=`FEATURES=test emerge-$BOARD platform2`
TEST=`cpplint.py --root=src --filter=-build/include src/{*.h,*.cc,*/*.cc}`
Change-Id: Ia2475d6ee287dc727c3b2ffe139e9cc8bfe2e2e5
Reviewed-on: https://chromium-review.googlesource.com/204391
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
diff --git a/debugd/src/ping_tool.h b/debugd/src/ping_tool.h
index cb44182..abc8ae1 100644
--- a/debugd/src/ping_tool.h
+++ b/debugd/src/ping_tool.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PING_TOOL_H
-#define PING_TOOL_H
+#ifndef PING_TOOL_H_
+#define PING_TOOL_H_
#include <map>
#include <string>
@@ -18,14 +18,14 @@
class PingTool : public SubprocessTool {
public:
PingTool();
- ~PingTool();
+ virtual ~PingTool();
std::string Start(const DBus::FileDescriptor& outfd,
const std::string& destination,
const std::map<std::string, DBus::Variant>& options,
- DBus::Error& error);
+ DBus::Error* error);
};
-}; // namespace debugd
+} // namespace debugd
-#endif // PING_TOOL_H
+#endif // PING_TOOL_H_