OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ | 5 #ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ |
6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ | 6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 base::string16* special_build, | 25 base::string16* special_build, |
26 base::string16* channel_name) override; | 26 base::string16* channel_name) override; |
27 bool ShouldShowRestartDialog(base::string16* title, | 27 bool ShouldShowRestartDialog(base::string16* title, |
28 base::string16* message, | 28 base::string16* message, |
29 bool* is_rtl_locale) override; | 29 bool* is_rtl_locale) override; |
30 bool AboutToRestart() override; | 30 bool AboutToRestart() override; |
31 bool GetDeferredUploadsSupported(bool is_per_user_install) override; | 31 bool GetDeferredUploadsSupported(bool is_per_user_install) override; |
32 bool GetIsPerUserInstall(const base::FilePath& exe_path) override; | 32 bool GetIsPerUserInstall(const base::FilePath& exe_path) override; |
33 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; | 33 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; |
34 int GetResultCodeRespawnFailed() override; | 34 int GetResultCodeRespawnFailed() override; |
35 void InitBrowserCrashDumpsRegKey() override; | |
36 void RecordCrashDumpAttempt(bool is_real_crash) override; | |
37 void RecordCrashDumpAttemptResult(bool is_real_crash, | |
38 bool succeeded) override; | |
39 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; | 35 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; |
40 size_t RegisterCrashKeys() override; | 36 size_t RegisterCrashKeys() override; |
41 bool IsRunningUnattended() override; | 37 bool IsRunningUnattended() override; |
42 bool GetCollectStatsConsent() override; | 38 bool GetCollectStatsConsent() override; |
43 bool ReportingIsEnforcedByPolicy(bool* enabled) override; | 39 bool ReportingIsEnforcedByPolicy(bool* enabled) override; |
44 bool EnableBreakpadForProcess(const std::string& process_type) override; | 40 bool EnableBreakpadForProcess(const std::string& process_type) override; |
45 | 41 |
46 private: | 42 private: |
47 bool is_per_user_install_; | 43 bool is_per_user_install_; |
48 | 44 |
49 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); | 45 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); |
50 }; | 46 }; |
51 | 47 |
52 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ | 48 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |