Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: components/breakpad/browser/crash_handler_host_linux.h

Issue 31243002: Move Linux/Android breakpad implementation to breakpad component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/breakpad/browser/crash_handler_host_linux.h
diff --git a/chrome/browser/crash_handler_host_linux.h b/components/breakpad/browser/crash_handler_host_linux.h
similarity index 92%
rename from chrome/browser/crash_handler_host_linux.h
rename to components/breakpad/browser/crash_handler_host_linux.h
index f49731204c7b8e62efffe1dffa7619d0ec8fc14d..a0e1d516a88200adea2b2601becf9047b36abfb2 100644
--- a/chrome/browser/crash_handler_host_linux.h
+++ b/components/breakpad/browser/crash_handler_host_linux.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
-#define CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
+#ifndef COMPONENTS_BREAKPAD_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
+#define COMPONENTS_BREAKPAD_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
#include <sys/types.h>
@@ -15,12 +15,14 @@
#include "base/message_loop/message_loop.h"
#include "base/threading/sequenced_worker_pool.h"
-struct BreakpadInfo;
-
namespace base {
class Thread;
}
+namespace breakpad {
+
+struct BreakpadInfo;
+
// This is the host for processes which run breakpad inside the sandbox on
// Linux or Android. We perform the crash dump from the browser because it
// allows us to be outside the sandbox.
@@ -90,4 +92,6 @@ class CrashHandlerHostLinux : public base::MessageLoopForIO::Watcher,
DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux);
};
-#endif // CHROME_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
+} // namespace breakpad
+
+#endif // COMPONENTS_BREAKPAD_BROWSER_CRASH_HANDLER_HOST_LINUX_H_
« no previous file with comments | « components/breakpad/browser/crash_dump_manager_android.cc ('k') | components/breakpad/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698