| Index: components/breakpad/browser/crash_handler_host_linux.cc
|
| diff --git a/chrome/browser/crash_handler_host_linux.cc b/components/breakpad/browser/crash_handler_host_linux.cc
|
| similarity index 98%
|
| rename from chrome/browser/crash_handler_host_linux.cc
|
| rename to components/breakpad/browser/crash_handler_host_linux.cc
|
| index 2a2b6f5dc8a01514075096de751539d92ec568d8..2d04ef16b5392745fd75d2533d259a8297584cd6 100644
|
| --- a/chrome/browser/crash_handler_host_linux.cc
|
| +++ b/components/breakpad/browser/crash_handler_host_linux.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 "chrome/browser/crash_handler_host_linux.h"
|
| +#include "components/breakpad/browser/crash_handler_host_linux.h"
|
|
|
| #include <stdint.h>
|
| #include <stdlib.h>
|
| @@ -27,7 +27,7 @@
|
| #include "breakpad/src/client/linux/handler/exception_handler.h"
|
| #include "breakpad/src/client/linux/minidump_writer/linux_dumper.h"
|
| #include "breakpad/src/client/linux/minidump_writer/minidump_writer.h"
|
| -#include "chrome/app/breakpad_linux_impl.h"
|
| +#include "components/breakpad/app/breakpad_linux_impl.h"
|
| #include "content/public/browser/browser_thread.h"
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -39,6 +39,8 @@
|
| using content::BrowserThread;
|
| using google_breakpad::ExceptionHandler;
|
|
|
| +namespace breakpad {
|
| +
|
| namespace {
|
|
|
| // The length of the control message:
|
| @@ -128,7 +130,7 @@ void CrashHandlerHostLinux::OnFileCanReadWithoutBlocking(int fd) {
|
| // for writing the minidump as well as a file descriptor and a credentials
|
| // block so that they can't lie about their pid.
|
| //
|
| - // The message sender is in chrome/app/breakpad_linux.cc.
|
| + // The message sender is in components/breakpad/app/breakpad_linux.cc.
|
|
|
| struct msghdr msg = {0};
|
| struct iovec iov[kCrashIovSize];
|
| @@ -450,3 +452,5 @@ void CrashHandlerHostLinux::WillDestroyCurrentMessageLoop() {
|
| bool CrashHandlerHostLinux::IsShuttingDown() const {
|
| return shutting_down_;
|
| }
|
| +
|
| +} // namespace breakpad
|
|
|