Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1855)

Unified Diff: chrome/app/chrome_crash_reporter_client.h

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698