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
This commit is contained in:
Steve Fung 2015-07-23 13:11:15 -07:00
parent 4bf3dc9345
commit 129bea543b
22 changed files with 28 additions and 28 deletions

View file

@ -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 <pcrecpp.h>
#include <stdint.h>

View file

@ -12,7 +12,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
#include "debugd/dbus-proxies.h"
class SystemLogging;

View file

@ -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 <stdio.h>

View file

@ -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 <dirent.h>
#include <fcntl.h> // For file creation modes.

View file

@ -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 <unistd.h>
#include <utility>
@ -13,7 +13,7 @@
#include <chromeos/syslog_logging.h>
#include <gtest/gtest.h>
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
using base::FilePath;
using base::StringPrintf;

View file

@ -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 <map>
#include <string>

View file

@ -16,12 +16,12 @@
#include <chromeos/syslog_logging.h>
#include <metrics/metrics_library.h>
#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[] =

View file

@ -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 <map>
#include <sys/stat.h>

View file

@ -13,7 +13,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
// Kernel crash collector.
class KernelCollector : public CrashCollector {

View file

@ -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 <unistd.h>

View file

@ -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 <gmock/gmock.h>
#include <gtest/gtest.h>

View file

@ -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 <base/files/file_util.h>
#include <base/logging.h>

View file

@ -10,7 +10,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
// Kernel warning collector.
class KernelWarningCollector : public CrashCollector {

View file

@ -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 <map>
#include <utility>

View file

@ -11,7 +11,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
// Udev crash collector.
class UdevCollector : public CrashCollector {

View file

@ -10,7 +10,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "crash-reporter/udev_collector.h"
#include "udev_collector.h"
using base::FilePath;

View file

@ -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 <base/files/file_util.h>
#include <base/logging.h>

View file

@ -11,7 +11,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
// Unclean shutdown collector.
class UncleanShutdownCollector : public CrashCollector {

View file

@ -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 <unistd.h>

View file

@ -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 <bits/wordsize.h>
#include <elf.h>

View file

@ -12,7 +12,7 @@
#include <base/macros.h>
#include <gtest/gtest_prod.h> // for FRIEND_TEST
#include "crash-reporter/crash_collector.h"
#include "crash_collector.h"
class SystemLogging;

View file

@ -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 <bits/wordsize.h>
#include <elf.h>