| 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 11 matching lines...) Expand all Loading... |
| 22 void GetProductNameAndVersion(const base::string16& exe_path, | 22 void GetProductNameAndVersion(const base::string16& exe_path, |
| 23 base::string16* product_name, | 23 base::string16* product_name, |
| 24 base::string16* version, | 24 base::string16* version, |
| 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::string16& exe_path) override; | 32 bool GetIsPerUserInstall() override; |
| 33 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; | 33 bool GetShouldDumpLargerDumps() override; |
| 34 int GetResultCodeRespawnFailed() override; | 34 int GetResultCodeRespawnFailed() override; |
| 35 bool GetCrashDumpLocation(base::string16* crash_dir) override; | 35 bool GetCrashDumpLocation(base::string16* crash_dir) override; |
| 36 size_t RegisterCrashKeys() override; | 36 size_t RegisterCrashKeys() override; |
| 37 bool IsRunningUnattended() override; | 37 bool IsRunningUnattended() override; |
| 38 bool GetCollectStatsConsent() override; | 38 bool GetCollectStatsConsent() override; |
| 39 bool GetCollectStatsInSample() override; | 39 bool GetCollectStatsInSample() override; |
| 40 bool ReportingIsEnforcedByPolicy(bool* enabled) override; | 40 bool ReportingIsEnforcedByPolicy(bool* enabled) override; |
| 41 bool EnableBreakpadForProcess(const std::string& process_type) override; | 41 bool EnableBreakpadForProcess(const std::string& process_type) override; |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 bool is_per_user_install_; | 44 bool is_per_user_install_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); | 46 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ | 49 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ |
| OLD | NEW |