crash-reporter: Fix coding style and cpplint issues.
BUG=chromium:385849
TEST=`FEATURES=test emerge-$BOARD platform2`
TEST=`cpplint.py --filter=--build/header_guard,-build/include_order *.h *.cc`
Change-Id: I3c24dd9487df50cdb22fc1c7739c9e95e452afae
Reviewed-on: https://chromium-review.googlesource.com/204487
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
diff --git a/crash_reporter/udev_collector.h b/crash_reporter/udev_collector.h
index 0976d3e..e54ce5b 100644
--- a/crash_reporter/udev_collector.h
+++ b/crash_reporter/udev_collector.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef _CRASH_REPORTER_UDEV_COLLECTOR_H_
-#define _CRASH_REPORTER_UDEV_COLLECTOR_H_
+#ifndef CRASH_REPORTER_UDEV_COLLECTOR_H_
+#define CRASH_REPORTER_UDEV_COLLECTOR_H_
#include <string>
-#include "base/files/file_path.h"
+#include <base/files/file_path.h>
+#include <gtest/gtest_prod.h> // for FRIEND_TEST
+
#include "crash-reporter/crash_collector.h"
-#include "gtest/gtest_prod.h" // for FRIEND_TEST
// Udev crash collector.
class UdevCollector : public CrashCollector {
@@ -22,7 +23,7 @@
// "ACTION=[action]:KERNEL=[name]:SUBSYSTEM=[subsystem]"
// The values don't have to be in any particular order. One or more of them
// could be omitted, in which case it would be treated as a wildcard (*).
- bool HandleCrash(const std::string &udev_event);
+ bool HandleCrash(const std::string& udev_event);
private:
friend class UdevCollectorTest;
@@ -33,4 +34,4 @@
}
};
-#endif // _CRASH_REPORTER_UDEV_COLLECTOR_H_
+#endif // CRASH_REPORTER_UDEV_COLLECTOR_H_