OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 5 #ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/crash/content/app/crash_reporter_client.h" | 9 #include "components/crash/content/app/crash_reporter_client.h" |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 int GetResultCodeRespawnFailed() override; | 37 int GetResultCodeRespawnFailed() override; |
38 | 38 |
39 bool GetCrashDumpLocation(base::string16* crash_dir) override; | 39 bool GetCrashDumpLocation(base::string16* crash_dir) override; |
40 | 40 |
41 size_t RegisterCrashKeys() override; | 41 size_t RegisterCrashKeys() override; |
42 | 42 |
43 bool IsRunningUnattended() override; | 43 bool IsRunningUnattended() override; |
44 | 44 |
45 bool GetCollectStatsConsent() override; | 45 bool GetCollectStatsConsent() override; |
46 | 46 |
| 47 bool GetCollectStatsInSample() override; |
| 48 |
47 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; | 49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
48 | 50 |
49 bool EnableBreakpadForProcess(const std::string& process_type) override; | 51 bool EnableBreakpadForProcess(const std::string& process_type) override; |
50 | 52 |
51 private: | 53 private: |
52 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 54 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
53 }; | 55 }; |
54 | 56 |
55 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ | 57 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_ |
OLD | NEW |