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

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

Issue 1023783005: Merge Crashpad to the 42.0.2311 branch (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@2311
Patch Set: Created 5 years, 9 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
« no previous file with comments | « build/all.gyp ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/crash/app/crash_reporter_client.h" 10 #include "components/crash/app/crash_reporter_client.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 13
14 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { 14 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient {
15 public: 15 public:
16 ChromeCrashReporterClient(); 16 ChromeCrashReporterClient();
17 ~ChromeCrashReporterClient() override; 17 ~ChromeCrashReporterClient() override;
18 18
19 // crash_reporter::CrashReporterClient implementation. 19 // crash_reporter::CrashReporterClient implementation.
20 #if !defined(OS_MACOSX)
20 void SetCrashReporterClientIdFromGUID( 21 void SetCrashReporterClientIdFromGUID(
21 const std::string& client_guid) override; 22 const std::string& client_guid) override;
23 #endif
22 #if defined(OS_WIN) 24 #if defined(OS_WIN)
23 virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) 25 virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir)
24 override; 26 override;
25 virtual void GetProductNameAndVersion(const base::FilePath& exe_path, 27 virtual void GetProductNameAndVersion(const base::FilePath& exe_path,
26 base::string16* product_name, 28 base::string16* product_name,
27 base::string16* version, 29 base::string16* version,
28 base::string16* special_build, 30 base::string16* special_build,
29 base::string16* channel_name) override; 31 base::string16* channel_name) override;
30 virtual bool ShouldShowRestartDialog(base::string16* title, 32 virtual bool ShouldShowRestartDialog(base::string16* title,
31 base::string16* message, 33 base::string16* message,
(...skipping 22 matching lines...) Expand all
54 bool GetCollectStatsConsent() override; 56 bool GetCollectStatsConsent() override;
55 57
56 #if defined(OS_WIN) || defined(OS_MACOSX) 58 #if defined(OS_WIN) || defined(OS_MACOSX)
57 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; 59 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override;
58 #endif 60 #endif
59 61
60 #if defined(OS_ANDROID) 62 #if defined(OS_ANDROID)
61 int GetAndroidMinidumpDescriptor() override; 63 int GetAndroidMinidumpDescriptor() override;
62 #endif 64 #endif
63 65
64 #if defined(OS_MACOSX)
65 void InstallAdditionalFilters(BreakpadRef breakpad) override;
66 #endif
67
68 bool EnableBreakpadForProcess(const std::string& process_type) override; 66 bool EnableBreakpadForProcess(const std::string& process_type) override;
69 67
70 private: 68 private:
71 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); 69 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
72 }; 70 };
73 71
74 } // namespace chrome 72 } // namespace chrome
75 73
76 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ 74 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/app/chrome_crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698