OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
6 #define CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 6 #define CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "components/crash/app/crash_reporter_client.h" | 9 #include "components/crash/app/crash_reporter_client.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 base::FilePath GetReporterLogFilename() override; | 34 base::FilePath GetReporterLogFilename() override; |
35 #endif | 35 #endif |
36 | 36 |
37 // The location where minidump files should be written. Returns true if | 37 // The location where minidump files should be written. Returns true if |
38 // |crash_dir| was set. | 38 // |crash_dir| was set. |
39 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; | 39 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; |
40 | 40 |
41 #if defined(OS_ANDROID) | 41 #if defined(OS_ANDROID) |
42 // Returns the descriptor key of the android minidump global descriptor. | 42 // Returns the descriptor key of the android minidump global descriptor. |
43 virtual int GetAndroidMinidumpDescriptor() override; | 43 int GetAndroidMinidumpDescriptor() override; |
44 #endif | 44 #endif |
45 | 45 |
46 bool EnableBreakpadForProcess(const std::string& process_type) override; | 46 bool EnableBreakpadForProcess(const std::string& process_type) override; |
47 | 47 |
48 private: | 48 private: |
49 DISALLOW_COPY_AND_ASSIGN(ShellCrashReporterClient); | 49 DISALLOW_COPY_AND_ASSIGN(ShellCrashReporterClient); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace content | 52 } // namespace content |
53 | 53 |
54 #endif // CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 54 #endif // CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |