OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ |
6 #define CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ | 6 #define CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
12 #include "base/process.h" | 12 #include "base/process/process.h" |
13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
14 #include "content/public/browser/browser_child_process_observer.h" | 14 #include "content/public/browser/browser_child_process_observer.h" |
15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class RenderProcessHost; | 19 class RenderProcessHost; |
20 } | 20 } |
21 | 21 |
22 // This class manages the crash minidumps. | 22 // This class manages the crash minidumps. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // from the PROCESS_LAUNCHER and UI threads. | 72 // from the PROCESS_LAUNCHER and UI threads. |
73 base::Lock child_process_id_to_minidump_path_lock_; | 73 base::Lock child_process_id_to_minidump_path_lock_; |
74 ChildProcessIDToMinidumpPath child_process_id_to_minidump_path_; | 74 ChildProcessIDToMinidumpPath child_process_id_to_minidump_path_; |
75 | 75 |
76 static CrashDumpManager* instance_; | 76 static CrashDumpManager* instance_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(CrashDumpManager); | 78 DISALLOW_COPY_AND_ASSIGN(CrashDumpManager); |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ | 81 #endif // CHROME_BROWSER_ANDROID_CRASH_DUMP_MANAGER_H_ |
OLD | NEW |