Index: chrome/app/chrome_crash_reporter_client.h |
diff --git a/chrome/app/chrome_crash_reporter_client.h b/chrome/app/chrome_crash_reporter_client.h |
index 4d184861175fdbffa51c485f8cb410e2e64fb8aa..6509f56022c3ae43e7185c3f45cd1ca0bfe68299 100644 |
--- a/chrome/app/chrome_crash_reporter_client.h |
+++ b/chrome/app/chrome_crash_reporter_client.h |
@@ -5,6 +5,8 @@ |
#ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
#define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
+#if !defined(OS_WIN) |
+ |
#include <stddef.h> |
#include <memory> |
@@ -24,30 +26,10 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { |
~ChromeCrashReporterClient() override; |
// crash_reporter::CrashReporterClient implementation. |
-#if !defined(OS_MACOSX) && !defined(OS_WIN) |
+#if !defined(OS_MACOSX) |
void SetCrashReporterClientIdFromGUID( |
const std::string& client_guid) override; |
#endif |
-#if defined(OS_WIN) |
- bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) override; |
- void GetProductNameAndVersion(const base::FilePath& exe_path, |
- base::string16* product_name, |
- base::string16* version, |
- base::string16* special_build, |
- base::string16* channel_name) override; |
- bool ShouldShowRestartDialog(base::string16* title, |
- base::string16* message, |
- bool* is_rtl_locale) override; |
- bool AboutToRestart() override; |
- bool GetDeferredUploadsSupported(bool is_per_user_install) override; |
- bool GetIsPerUserInstall(const base::FilePath& exe_path) override; |
- bool GetShouldDumpLargerDumps(bool is_per_user_install) override; |
- int GetResultCodeRespawnFailed() override; |
- void InitBrowserCrashDumpsRegKey() override; |
- void RecordCrashDumpAttempt(bool is_real_crash) override; |
- void RecordCrashDumpAttemptResult(bool is_real_crash, |
- bool succeeded) override; |
-#endif |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
void GetProductNameAndVersion(const char** product_name, |
@@ -63,7 +45,7 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { |
bool GetCollectStatsConsent() override; |
-#if defined(OS_WIN) || defined(OS_MACOSX) |
+#if defined(OS_MACOSX) |
bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
#endif |
@@ -74,12 +56,9 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { |
bool EnableBreakpadForProcess(const std::string& process_type) override; |
private: |
-#if defined(OS_WIN) |
- std::unique_ptr<browser_watcher::CrashReportingMetrics> |
- crash_reporting_metrics_; |
-#endif |
- |
DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
}; |
+#endif // OS_WIN |
+ |
#endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |