| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 5 #ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
| 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/crash/content/app/crash_reporter_client.h" | 9 #include "components/crash/content/app/crash_reporter_client.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 void GetProductNameAndVersion(const base::string16& exe_path, | 25 void GetProductNameAndVersion(const base::string16& exe_path, |
| 26 base::string16* product_name, | 26 base::string16* product_name, |
| 27 base::string16* version, | 27 base::string16* version, |
| 28 base::string16* special_build, | 28 base::string16* special_build, |
| 29 base::string16* channel_name) override; | 29 base::string16* channel_name) override; |
| 30 bool ShouldShowRestartDialog(base::string16* title, | 30 bool ShouldShowRestartDialog(base::string16* title, |
| 31 base::string16* message, | 31 base::string16* message, |
| 32 bool* is_rtl_locale) override; | 32 bool* is_rtl_locale) override; |
| 33 bool AboutToRestart() override; | 33 bool AboutToRestart() override; |
| 34 bool GetDeferredUploadsSupported(bool is_per_user_install) override; | 34 bool GetDeferredUploadsSupported(bool is_per_user_install) override; |
| 35 bool GetIsPerUserInstall(const base::string16& exe_path) override; | 35 bool GetIsPerUserInstall() override; |
| 36 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; | 36 bool GetShouldDumpLargerDumps() override; |
| 37 int GetResultCodeRespawnFailed() override; | 37 int GetResultCodeRespawnFailed() override; |
| 38 | 38 |
| 39 bool GetCrashDumpLocation(base::string16* crash_dir) override; | 39 bool GetCrashDumpLocation(base::string16* crash_dir) override; |
| 40 bool GetCrashMetricsLocation(base::string16* metrics_dir) override; | 40 bool GetCrashMetricsLocation(base::string16* metrics_dir) override; |
| 41 | 41 |
| 42 size_t RegisterCrashKeys() override; | 42 size_t RegisterCrashKeys() override; |
| 43 | 43 |
| 44 bool IsRunningUnattended() override; | 44 bool IsRunningUnattended() override; |
| 45 | 45 |
| 46 bool GetCollectStatsConsent() override; | 46 bool GetCollectStatsConsent() override; |
| 47 | 47 |
| 48 bool GetCollectStatsInSample() override; | 48 bool GetCollectStatsInSample() override; |
| 49 | 49 |
| 50 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; | 50 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
| 51 | 51 |
| 52 bool EnableBreakpadForProcess(const std::string& process_type) override; | 52 bool EnableBreakpadForProcess(const std::string& process_type) override; |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 55 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 58 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
| OLD | NEW |