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

Side by Side Diff: chrome/app/chrome_crash_reporter_client.h

Issue 2610883006: Enable UMA reporting for crashpad_handler on macOS (Closed)
Patch Set: Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_H_ 5 #ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_
6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_
7 7
8 #if !defined(OS_WIN) 8 #if !defined(OS_WIN)
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 17 matching lines...) Expand all
28 #endif 28 #endif
29 29
30 #if defined(OS_POSIX) && !defined(OS_MACOSX) 30 #if defined(OS_POSIX) && !defined(OS_MACOSX)
31 void GetProductNameAndVersion(const char** product_name, 31 void GetProductNameAndVersion(const char** product_name,
32 const char** version) override; 32 const char** version) override;
33 base::FilePath GetReporterLogFilename() override; 33 base::FilePath GetReporterLogFilename() override;
34 #endif 34 #endif
35 35
36 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; 36 bool GetCrashDumpLocation(base::FilePath* crash_dir) override;
37 37
38 #if defined(OS_MACOSX)
39 bool GetCrashMetricsLocation(base::FilePath* metrics_dir) override;
40 #endif
41
38 size_t RegisterCrashKeys() override; 42 size_t RegisterCrashKeys() override;
39 43
40 bool IsRunningUnattended() override; 44 bool IsRunningUnattended() override;
41 45
42 bool GetCollectStatsConsent() override; 46 bool GetCollectStatsConsent() override;
43 47
44 #if defined(OS_MACOSX) 48 #if defined(OS_MACOSX)
45 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; 49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override;
46 #endif 50 #endif
47 51
48 #if defined(OS_ANDROID) 52 #if defined(OS_ANDROID)
49 int GetAndroidMinidumpDescriptor() override; 53 int GetAndroidMinidumpDescriptor() override;
50 #endif 54 #endif
51 55
52 bool EnableBreakpadForProcess(const std::string& process_type) override; 56 bool EnableBreakpadForProcess(const std::string& process_type) override;
53 57
54 private: 58 private:
55 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); 59 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
56 }; 60 };
57 61
58 #endif // OS_WIN 62 #endif // OS_WIN
59 63
60 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ 64 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_crash_reporter_client_mac.mm » ('j') | chrome/app/chrome_crash_reporter_client_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698