| 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 19 matching lines...) Expand all Loading... |
| 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(const base::string16& exe_path) override; |
| 36 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; | 36 bool GetShouldDumpLargerDumps(bool is_per_user_install) 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* crash_dir) override; |
| 40 | 41 |
| 41 size_t RegisterCrashKeys() override; | 42 size_t RegisterCrashKeys() override; |
| 42 | 43 |
| 43 bool IsRunningUnattended() override; | 44 bool IsRunningUnattended() override; |
| 44 | 45 |
| 45 bool GetCollectStatsConsent() override; | 46 bool GetCollectStatsConsent() override; |
| 46 | 47 |
| 47 bool GetCollectStatsInSample() override; | 48 bool GetCollectStatsInSample() override; |
| 48 | 49 |
| 49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; | 50 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
| 50 | 51 |
| 51 bool EnableBreakpadForProcess(const std::string& process_type) override; | 52 bool EnableBreakpadForProcess(const std::string& process_type) override; |
| 52 | 53 |
| 53 private: | 54 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 55 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 58 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
| OLD | NEW |