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

Unified Diff: chrome/installer/setup/installer_crash_reporter_client.h

Issue 1561663003: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/installer/setup/install.cc ('k') | chrome/installer/setup/installer_crash_reporter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/installer_crash_reporter_client.h
diff --git a/chrome/installer/setup/installer_crash_reporter_client.h b/chrome/installer/setup/installer_crash_reporter_client.h
index 21dab7124ce7c15feb07a400443202c3147fb49f..530b47f61e43d29a8ae52356db7412110e5eeae2 100644
--- a/chrome/installer/setup/installer_crash_reporter_client.h
+++ b/chrome/installer/setup/installer_crash_reporter_client.h
@@ -10,12 +10,18 @@
#include "base/macros.h"
#include "components/crash/content/app/crash_reporter_client.h"
+namespace installer {
+class InstallerState;
+}
+
class InstallerCrashReporterClient
: public crash_reporter::CrashReporterClient {
public:
- explicit InstallerCrashReporterClient(bool is_per_user_install);
~InstallerCrashReporterClient() override;
+ // Sets up the crash reporting system for the installer.
+ static void Configure(const installer::InstallerState&);
+
// crash_reporter::CrashReporterClient methods:
void SetCrashReporterClientIdFromGUID(
const std::string& client_guid) override;
@@ -46,6 +52,8 @@ class InstallerCrashReporterClient
bool EnableBreakpadForProcess(const std::string& process_type) override;
private:
+ explicit InstallerCrashReporterClient(bool is_per_user_install);
+
bool is_per_user_install_;
DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient);
« no previous file with comments | « chrome/installer/setup/install.cc ('k') | chrome/installer/setup/installer_crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698