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/storage_tool.cc b/debugd/src/storage_tool.cc
index 959d865..fd99e86 100644
--- a/debugd/src/storage_tool.cc
+++ b/debugd/src/storage_tool.cc
@@ -19,7 +19,7 @@
 StorageTool::~StorageTool() { }
 
 std::string StorageTool::Smartctl(const std::string& option,
-                                  DBus::Error& error) {
+                                  DBus::Error* error) {
   std::string path;
   if (!SandboxedProcess::GetHelperPath("storage", &path))
     return "<path too long>";
@@ -55,7 +55,7 @@
 }
 
 std::string StorageTool::Start(const DBus::FileDescriptor& outfd,
-                               DBus::Error& error) {
+                               DBus::Error* error) {
   ProcessWithId* p = CreateProcess(false);
   if (!p)
     return "";
@@ -70,4 +70,4 @@
   return p->id();
 }
 
-};  // namespace debugd
+}  // namespace debugd