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/process_with_output.h b/debugd/src/process_with_output.h
index 9e34153..89c5627 100644
--- a/debugd/src/process_with_output.h
+++ b/debugd/src/process_with_output.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 PROCESS_WITH_OUTPUT_H
-#define PROCESS_WITH_OUTPUT_H
+#ifndef PROCESS_WITH_OUTPUT_H_
+#define PROCESS_WITH_OUTPUT_H_
#include <string>
#include <vector>
@@ -24,11 +24,12 @@
virtual bool Init();
bool GetOutput(std::string* output);
bool GetOutputLines(std::vector<std::string>* output);
+
private:
base::FilePath outfile_path_;
FILE *outfile_;
};
-}; // namespace debugd
+} // namespace debugd
-#endif // PROCESS_WITH_OUTPUT_H
+#endif // PROCESS_WITH_OUTPUT_H_