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

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

Issue 184003002: Remove CreatePlatformFile from content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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_dump_manager_android.h
diff --git a/components/breakpad/browser/crash_dump_manager_android.h b/components/breakpad/browser/crash_dump_manager_android.h
index aa79fc664caf1f27818d7b2041473c284c6f95ac..fdb57d7824ec554ff134448123e9690e7394ad53 100644
--- a/components/breakpad/browser/crash_dump_manager_android.h
+++ b/components/breakpad/browser/crash_dump_manager_android.h
@@ -7,8 +7,8 @@
#include <map>
+#include "base/files/file.h"
#include "base/files/file_path.h"
-#include "base/platform_file.h"
#include "base/process/process.h"
#include "base/synchronization/lock.h"
#include "content/public/browser/browser_child_process_observer.h"
@@ -41,9 +41,9 @@ class CrashDumpManager : public content::BrowserChildProcessObserver,
virtual ~CrashDumpManager();
- // Returns a file descriptor that should be used to generate a minidump for
- // the process |child_process_id|.
- int CreateMinidumpFile(int child_process_id);
+ // Returns a file that should be used to generate a minidump for the process
+ // |child_process_id|.
+ base::File CreateMinidumpFile(int child_process_id);
private:
typedef std::map<int, base::FilePath> ChildProcessIDToMinidumpPath;

Powered by Google App Engine
This is Rietveld 408576698