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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 11189068: Changing minidump process generation to be in-process on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 3c042c91fe7180618a58892c2c271699c9bd28d5..5fe0d6613c788f21bd10f92aa1a4b6496d601644 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -13,6 +13,11 @@
#include "base/compiler_specific.h"
#include "content/public/browser/content_browser_client.h"
+#if defined(OS_ANDROID)
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/android/crash_dump_manager.h"
+#endif
+
namespace content {
class QuotaPermissionContext;
}
@@ -208,6 +213,7 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
#if defined(OS_POSIX) && !defined(OS_MACOSX)
virtual void GetAdditionalMappedFilesForChildProcess(
const CommandLine& command_line,
+ int process_host_id,
std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
#endif
#if defined(OS_WIN)
@@ -233,6 +239,12 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
content::BrowserContext* browser_context,
const extensions::Extension* extension);
+#if defined(OS_ANDROID)
+ void InitCrashDumpManager();
+
+ scoped_ptr<CrashDumpManager> crash_dump_manager_;
+#endif
+
// Set of origins that can use TCP/UDP private APIs from NaCl.
std::set<std::string> allowed_socket_origins_;

Powered by Google App Engine
This is Rietveld 408576698