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

Unified Diff: components/crash/content/browser/crash_dump_observer_android.h

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Merge Created 3 years, 5 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/crash/content/browser/crash_dump_observer_android.h
diff --git a/components/crash/content/browser/crash_dump_observer_android.h b/components/crash/content/browser/crash_dump_observer_android.h
index 3f049f31dd401c0e1d03b664f8f31ee1cbce8909..ac9cec18f6fdbb228059265a664d05b5f7e07f32 100644
--- a/components/crash/content/browser/crash_dump_observer_android.h
+++ b/components/crash/content/browser/crash_dump_observer_android.h
@@ -14,9 +14,9 @@
#include "base/process/kill.h"
#include "base/process/process.h"
#include "content/public/browser/browser_child_process_observer.h"
-#include "content/public/browser/file_descriptor_info.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/posix_file_descriptor_info.h"
#include "content/public/common/process_type.h"
namespace breakpad {
@@ -36,7 +36,7 @@ class CrashDumpObserver : public content::BrowserChildProcessObserver,
public:
// OnChildStart is called on the launcher thread.
virtual void OnChildStart(int child_process_id,
- content::FileDescriptorInfo* mappings) = 0;
+ content::PosixFileDescriptorInfo* mappings) = 0;
// OnChildExit is called on the UI thread.
// OnChildExit may be called twice (once for the child process
// termination, and once for the IPC channel disconnection).
@@ -67,7 +67,7 @@ class CrashDumpObserver : public content::BrowserChildProcessObserver,
// creation, and to allow clients to register any fd mappings they
// need.
void BrowserChildProcessStarted(int child_process_id,
- content::FileDescriptorInfo* mappings);
+ content::PosixFileDescriptorInfo* mappings);
private:
friend struct base::LazyInstanceTraitsBase<CrashDumpObserver>;

Powered by Google App Engine
This is Rietveld 408576698