From 129bea543b7572bfdf09c6a7b3cebbe3b57ce723 Mon Sep 17 00:00:00 2001 From: Steve Fung Date: Thu, 23 Jul 2015 13:11:15 -0700 Subject: [PATCH] crash_reporter: Fix header include paths Fix the header include paths to be relative to the crash_reporter base folder. Bug: 22873331 Change-Id: Icdd0495a79cd7679f38c54a84e189bfb3c9d7f1c --- crash_reporter/chrome_collector.cc | 2 +- crash_reporter/chrome_collector.h | 2 +- crash_reporter/chrome_collector_test.cc | 2 +- crash_reporter/crash_collector.cc | 2 +- crash_reporter/crash_collector_test.cc | 4 ++-- crash_reporter/crash_collector_test.h | 2 +- crash_reporter/crash_reporter.cc | 12 ++++++------ crash_reporter/kernel_collector.cc | 2 +- crash_reporter/kernel_collector.h | 2 +- crash_reporter/kernel_collector_test.cc | 2 +- crash_reporter/kernel_collector_test.h | 2 +- crash_reporter/kernel_warning_collector.cc | 2 +- crash_reporter/kernel_warning_collector.h | 2 +- crash_reporter/udev_collector.cc | 2 +- crash_reporter/udev_collector.h | 2 +- crash_reporter/udev_collector_test.cc | 2 +- crash_reporter/unclean_shutdown_collector.cc | 2 +- crash_reporter/unclean_shutdown_collector.h | 2 +- crash_reporter/unclean_shutdown_collector_test.cc | 2 +- crash_reporter/user_collector.cc | 2 +- crash_reporter/user_collector.h | 2 +- crash_reporter/user_collector_test.cc | 2 +- 22 files changed, 28 insertions(+), 28 deletions(-) diff --git a/crash_reporter/chrome_collector.cc b/crash_reporter/chrome_collector.cc index ec291c00b..ac44e4b36 100644 --- a/crash_reporter/chrome_collector.cc +++ b/crash_reporter/chrome_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/chrome_collector.h" +#include "chrome_collector.h" #include #include diff --git a/crash_reporter/chrome_collector.h b/crash_reporter/chrome_collector.h index 0b58c1948..43aaf2ba0 100644 --- a/crash_reporter/chrome_collector.h +++ b/crash_reporter/chrome_collector.h @@ -12,7 +12,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" #include "debugd/dbus-proxies.h" class SystemLogging; diff --git a/crash_reporter/chrome_collector_test.cc b/crash_reporter/chrome_collector_test.cc index 0d6a7cea4..f13883ae7 100644 --- a/crash_reporter/chrome_collector_test.cc +++ b/crash_reporter/chrome_collector_test.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/chrome_collector.h" +#include "chrome_collector.h" #include diff --git a/crash_reporter/crash_collector.cc b/crash_reporter/crash_collector.cc index 04f3ba812..29a2b7286 100644 --- a/crash_reporter/crash_collector.cc +++ b/crash_reporter/crash_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" #include #include // For file creation modes. diff --git a/crash_reporter/crash_collector_test.cc b/crash_reporter/crash_collector_test.cc index ce9af2b75..ecb2ba659 100644 --- a/crash_reporter/crash_collector_test.cc +++ b/crash_reporter/crash_collector_test.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/crash_collector_test.h" +#include "crash_collector_test.h" #include #include @@ -13,7 +13,7 @@ #include #include -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" using base::FilePath; using base::StringPrintf; diff --git a/crash_reporter/crash_collector_test.h b/crash_reporter/crash_collector_test.h index 8339fa056..c875d442e 100644 --- a/crash_reporter/crash_collector_test.h +++ b/crash_reporter/crash_collector_test.h @@ -5,7 +5,7 @@ #ifndef CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_ #define CRASH_REPORTER_CRASH_COLLECTOR_TEST_H_ -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" #include #include diff --git a/crash_reporter/crash_reporter.cc b/crash_reporter/crash_reporter.cc index 1528b3f15..9fa0d07e1 100644 --- a/crash_reporter/crash_reporter.cc +++ b/crash_reporter/crash_reporter.cc @@ -16,12 +16,12 @@ #include #include -#include "crash-reporter/chrome_collector.h" -#include "crash-reporter/kernel_collector.h" -#include "crash-reporter/kernel_warning_collector.h" -#include "crash-reporter/udev_collector.h" -#include "crash-reporter/unclean_shutdown_collector.h" -#include "crash-reporter/user_collector.h" +#include "chrome_collector.h" +#include "kernel_collector.h" +#include "kernel_warning_collector.h" +#include "udev_collector.h" +#include "unclean_shutdown_collector.h" +#include "user_collector.h" static const char kCrashCounterHistogram[] = "Logging.CrashCounter"; static const char kUserCrashSignal[] = diff --git a/crash_reporter/kernel_collector.cc b/crash_reporter/kernel_collector.cc index d86efbdcc..b3cbedeca 100644 --- a/crash_reporter/kernel_collector.cc +++ b/crash_reporter/kernel_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/kernel_collector.h" +#include "kernel_collector.h" #include #include diff --git a/crash_reporter/kernel_collector.h b/crash_reporter/kernel_collector.h index c8aedfe70..5fc4ac2de 100644 --- a/crash_reporter/kernel_collector.h +++ b/crash_reporter/kernel_collector.h @@ -13,7 +13,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" // Kernel crash collector. class KernelCollector : public CrashCollector { diff --git a/crash_reporter/kernel_collector_test.cc b/crash_reporter/kernel_collector_test.cc index 48d94ea0e..a534803a9 100644 --- a/crash_reporter/kernel_collector_test.cc +++ b/crash_reporter/kernel_collector_test.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/kernel_collector_test.h" +#include "kernel_collector_test.h" #include diff --git a/crash_reporter/kernel_collector_test.h b/crash_reporter/kernel_collector_test.h index 75ac01e9b..d450134af 100644 --- a/crash_reporter/kernel_collector_test.h +++ b/crash_reporter/kernel_collector_test.h @@ -5,7 +5,7 @@ #ifndef CRASH_REPORTER_KERNEL_COLLECTOR_TEST_H_ #define CRASH_REPORTER_KERNEL_COLLECTOR_TEST_H_ -#include "crash-reporter/kernel_collector.h" +#include "kernel_collector.h" #include #include diff --git a/crash_reporter/kernel_warning_collector.cc b/crash_reporter/kernel_warning_collector.cc index 5dcd1f688..4cf7640a5 100644 --- a/crash_reporter/kernel_warning_collector.cc +++ b/crash_reporter/kernel_warning_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/kernel_warning_collector.h" +#include "kernel_warning_collector.h" #include #include diff --git a/crash_reporter/kernel_warning_collector.h b/crash_reporter/kernel_warning_collector.h index f326b23ef..82c509c34 100644 --- a/crash_reporter/kernel_warning_collector.h +++ b/crash_reporter/kernel_warning_collector.h @@ -10,7 +10,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" // Kernel warning collector. class KernelWarningCollector : public CrashCollector { diff --git a/crash_reporter/udev_collector.cc b/crash_reporter/udev_collector.cc index 908bbc9c4..85f40db4b 100644 --- a/crash_reporter/udev_collector.cc +++ b/crash_reporter/udev_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/udev_collector.h" +#include "udev_collector.h" #include #include diff --git a/crash_reporter/udev_collector.h b/crash_reporter/udev_collector.h index 1689dd395..d9b37ebe1 100644 --- a/crash_reporter/udev_collector.h +++ b/crash_reporter/udev_collector.h @@ -11,7 +11,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" // Udev crash collector. class UdevCollector : public CrashCollector { diff --git a/crash_reporter/udev_collector_test.cc b/crash_reporter/udev_collector_test.cc index 08d9b2c2f..4897b9174 100644 --- a/crash_reporter/udev_collector_test.cc +++ b/crash_reporter/udev_collector_test.cc @@ -10,7 +10,7 @@ #include #include -#include "crash-reporter/udev_collector.h" +#include "udev_collector.h" using base::FilePath; diff --git a/crash_reporter/unclean_shutdown_collector.cc b/crash_reporter/unclean_shutdown_collector.cc index e8273b554..a6da1bba5 100644 --- a/crash_reporter/unclean_shutdown_collector.cc +++ b/crash_reporter/unclean_shutdown_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/unclean_shutdown_collector.h" +#include "unclean_shutdown_collector.h" #include #include diff --git a/crash_reporter/unclean_shutdown_collector.h b/crash_reporter/unclean_shutdown_collector.h index d30a0b2ef..2ce08420c 100644 --- a/crash_reporter/unclean_shutdown_collector.h +++ b/crash_reporter/unclean_shutdown_collector.h @@ -11,7 +11,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" // Unclean shutdown collector. class UncleanShutdownCollector : public CrashCollector { diff --git a/crash_reporter/unclean_shutdown_collector_test.cc b/crash_reporter/unclean_shutdown_collector_test.cc index f5e1b32bf..dc420fb37 100644 --- a/crash_reporter/unclean_shutdown_collector_test.cc +++ b/crash_reporter/unclean_shutdown_collector_test.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/unclean_shutdown_collector.h" +#include "unclean_shutdown_collector.h" #include diff --git a/crash_reporter/user_collector.cc b/crash_reporter/user_collector.cc index 302b1308a..039718573 100644 --- a/crash_reporter/user_collector.cc +++ b/crash_reporter/user_collector.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/user_collector.h" +#include "user_collector.h" #include #include diff --git a/crash_reporter/user_collector.h b/crash_reporter/user_collector.h index aac94cb84..77024e13e 100644 --- a/crash_reporter/user_collector.h +++ b/crash_reporter/user_collector.h @@ -12,7 +12,7 @@ #include #include // for FRIEND_TEST -#include "crash-reporter/crash_collector.h" +#include "crash_collector.h" class SystemLogging; diff --git a/crash_reporter/user_collector_test.cc b/crash_reporter/user_collector_test.cc index 823d8b4e1..b80b93c81 100644 --- a/crash_reporter/user_collector_test.cc +++ b/crash_reporter/user_collector_test.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "crash-reporter/user_collector.h" +#include "user_collector.h" #include #include