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/log_tool.h b/debugd/src/log_tool.h
index 8dff40b..9ca678e 100644
--- a/debugd/src/log_tool.h
+++ b/debugd/src/log_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 LOG_TOOL_H
-#define LOG_TOOL_H
+#ifndef LOG_TOOL_H_
+#define LOG_TOOL_H_
#include <string>
#include <map>
@@ -20,10 +20,10 @@
typedef std::map<std::string, std::string> LogMap;
- std::string GetLog(const std::string& name, DBus::Error& error); // NOLINT
- LogMap GetAllLogs(DBus::Error& error); // NOLINT
- LogMap GetFeedbackLogs(DBus::Error& error); // NOLINT
- LogMap GetUserLogFiles(DBus::Error& error); // NOLINT
+ std::string GetLog(const std::string& name, DBus::Error* error);
+ LogMap GetAllLogs(DBus::Error* error);
+ LogMap GetFeedbackLogs(DBus::Error* error);
+ LogMap GetUserLogFiles(DBus::Error* error);
private:
friend class LogToolTest;
@@ -33,6 +33,6 @@
DISALLOW_COPY_AND_ASSIGN(LogTool);
};
-}; // namespace debugd
+} // namespace debugd
-#endif // LOG_TOOL_H
+#endif // LOG_TOOL_H_