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_id.cc b/debugd/src/process_with_id.cc
index 5e32400..daf950f 100644
--- a/debugd/src/process_with_id.cc
+++ b/debugd/src/process_with_id.cc
@@ -11,15 +11,15 @@
 
 namespace debugd {
 
-ProcessWithId::ProcessWithId() { }
+ProcessWithId::ProcessWithId() {}
 
 bool ProcessWithId::Init() {
-  return SandboxedProcess::Init() && generate_id();
+  return SandboxedProcess::Init() && GenerateId();
 }
 
-bool ProcessWithId::generate_id() {
+bool ProcessWithId::GenerateId() {
   char buf[16];
-  FILE *urandom = fopen("/dev/urandom", "r");
+  FILE* urandom = fopen("/dev/urandom", "r");
   if (!urandom) {
       PLOG(ERROR) << "Can't open /dev/urandom";
       return false;
@@ -35,4 +35,4 @@
   return true;
 }
 
-};  // namespace debugd
+}  // namespace debugd