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

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: Synced again. 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
« no previous file with comments | « chrome/browser/chrome_browser_main_android.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..df70c85fa5c7dc6a72e7bd94e38abe94cb485276 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 child_process_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_;
« no previous file with comments | « chrome/browser/chrome_browser_main_android.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698