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/memory_tool.h b/debugd/src/memory_tool.h
index 626468a..a73e782 100644
--- a/debugd/src/memory_tool.h
+++ b/debugd/src/memory_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 MEMORY_TOOL_H
-#define MEMORY_TOOL_H
+#ifndef MEMORY_TOOL_H_
+#define MEMORY_TOOL_H_
#include <string>
@@ -17,13 +17,13 @@
class MemtesterTool : public SubprocessTool {
public:
MemtesterTool();
- ~MemtesterTool();
+ virtual ~MemtesterTool();
std::string Start(const DBus::FileDescriptor& outfd,
const uint32_t& memory,
- DBus::Error& error);
+ DBus::Error* error);
};
-}; // namespace debugd
+} // namespace debugd
-#endif // !TRACEPATH_TOOL_H
+#endif // MEMORY_TOOL_H_