OLD | NEW |
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> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "components/crash/content/app/crash_reporter_client.h" | 11 #include "components/crash/content/app/crash_reporter_client.h" |
10 | 12 |
11 class InstallerCrashReporterClient | 13 class InstallerCrashReporterClient |
12 : public crash_reporter::CrashReporterClient { | 14 : public crash_reporter::CrashReporterClient { |
13 public: | 15 public: |
14 explicit InstallerCrashReporterClient(bool is_per_user_install); | 16 explicit InstallerCrashReporterClient(bool is_per_user_install); |
15 ~InstallerCrashReporterClient() override; | 17 ~InstallerCrashReporterClient() override; |
16 | 18 |
17 // crash_reporter::CrashReporterClient methods: | 19 // crash_reporter::CrashReporterClient methods: |
(...skipping 25 matching lines...) Expand all Loading... |
43 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; | 45 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
44 bool EnableBreakpadForProcess(const std::string& process_type) override; | 46 bool EnableBreakpadForProcess(const std::string& process_type) override; |
45 | 47 |
46 private: | 48 private: |
47 bool is_per_user_install_; | 49 bool is_per_user_install_; |
48 | 50 |
49 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); | 51 DISALLOW_COPY_AND_ASSIGN(InstallerCrashReporterClient); |
50 }; | 52 }; |
51 | 53 |
52 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ | 54 #endif // CHROME_INSTALLER_SETUP_INSTALLER_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |