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

Side by Side Diff: chrome/installer/setup/installer_crash_reporter_client.h

Issue 1922473003: Scrub the vestigal breakpad crash dump attempts metrics code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Greg's comments. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ 5 #ifndef CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_
6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ 6 #define CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 14 matching lines...) Expand all
25 base::string16* special_build, 25 base::string16* special_build,
26 base::string16* channel_name) override; 26 base::string16* channel_name) override;
27 bool ShouldShowRestartDialog(base::string16* title, 27 bool ShouldShowRestartDialog(base::string16* title,
28 base::string16* message, 28 base::string16* message,
29 bool* is_rtl_locale) override; 29 bool* is_rtl_locale) override;
30 bool AboutToRestart() override; 30 bool AboutToRestart() override;
31 bool GetDeferredUploadsSupported(bool is_per_user_install) override; 31 bool GetDeferredUploadsSupported(bool is_per_user_install) override;
32 bool GetIsPerUserInstall(const base::FilePath& exe_path) override; 32 bool GetIsPerUserInstall(const base::FilePath& exe_path) override;
33 bool GetShouldDumpLargerDumps(bool is_per_user_install) override; 33 bool GetShouldDumpLargerDumps(bool is_per_user_install) override;
34 int GetResultCodeRespawnFailed() override; 34 int GetResultCodeRespawnFailed() override;
35 void InitBrowserCrashDumpsRegKey() override;
36 void RecordCrashDumpAttempt(bool is_real_crash) override;
37 void RecordCrashDumpAttemptResult(bool is_real_crash,
38 bool succeeded) override;
39 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; 35 bool GetCrashDumpLocation(base::FilePath* crash_dir) override;
40 size_t RegisterCrashKeys() override; 36 size_t RegisterCrashKeys() override;
41 bool IsRunningUnattended() override; 37 bool IsRunningUnattended() override;
42 bool GetCollectStatsConsent() override; 38 bool GetCollectStatsConsent() override;
43 bool ReportingIsEnforcedByPolicy(bool* enabled) override; 39 bool ReportingIsEnforcedByPolicy(bool* enabled) override;
44 bool EnableBreakpadForProcess(const std::string& process_type) override; 40 bool EnableBreakpadForProcess(const std::string& process_type) override;
45 41
46 private: 42 private:
47 bool is_per_user_install_; 43 bool is_per_user_install_;
48 44
49 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); 45 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient);
50 }; 46 };
51 47
52 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ 48 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/metrics_constants_util_win.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