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

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

Issue 644903002: Replacing the OVERRIDE with override and in chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extrafile added Created 6 years, 2 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 | « chrome/app/android/chrome_main_delegate_android.h ('k') | chrome/app/chrome_main_delegate.h » ('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 virtual ~ChromeCrashReporterClient(); 17 virtual ~ChromeCrashReporterClient();
18 18
19 // crash_reporter::CrashReporterClient implementation. 19 // crash_reporter::CrashReporterClient implementation.
20 virtual void SetCrashReporterClientIdFromGUID( 20 virtual void SetCrashReporterClientIdFromGUID(
21 const std::string& client_guid) OVERRIDE; 21 const std::string& client_guid) override;
22 #if defined(OS_WIN) 22 #if defined(OS_WIN)
23 virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) 23 virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir)
24 OVERRIDE; 24 override;
25 virtual void GetProductNameAndVersion(const base::FilePath& exe_path, 25 virtual void GetProductNameAndVersion(const base::FilePath& exe_path,
26 base::string16* product_name, 26 base::string16* product_name,
27 base::string16* version, 27 base::string16* version,
28 base::string16* special_build, 28 base::string16* special_build,
29 base::string16* channel_name) OVERRIDE; 29 base::string16* channel_name) override;
30 virtual bool ShouldShowRestartDialog(base::string16* title, 30 virtual bool ShouldShowRestartDialog(base::string16* title,
31 base::string16* message, 31 base::string16* message,
32 bool* is_rtl_locale) OVERRIDE; 32 bool* is_rtl_locale) override;
33 virtual bool AboutToRestart() OVERRIDE; 33 virtual bool AboutToRestart() override;
34 virtual bool GetDeferredUploadsSupported(bool is_per_user_install) OVERRIDE; 34 virtual bool GetDeferredUploadsSupported(bool is_per_user_install) override;
35 virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) OVERRIDE; 35 virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) override;
36 virtual bool GetShouldDumpLargerDumps(bool is_per_user_install) OVERRIDE; 36 virtual bool GetShouldDumpLargerDumps(bool is_per_user_install) override;
37 virtual int GetResultCodeRespawnFailed() OVERRIDE; 37 virtual int GetResultCodeRespawnFailed() override;
38 virtual void InitBrowserCrashDumpsRegKey() OVERRIDE; 38 virtual void InitBrowserCrashDumpsRegKey() override;
39 virtual void RecordCrashDumpAttempt(bool is_real_crash) OVERRIDE; 39 virtual void RecordCrashDumpAttempt(bool is_real_crash) override;
40 #endif 40 #endif
41 41
42 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) 42 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
43 virtual void GetProductNameAndVersion(const char** product_name, 43 virtual void GetProductNameAndVersion(const char** product_name,
44 const char** version) OVERRIDE; 44 const char** version) override;
45 virtual base::FilePath GetReporterLogFilename() OVERRIDE; 45 virtual base::FilePath GetReporterLogFilename() override;
46 #endif 46 #endif
47 47
48 virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE; 48 virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) override;
49 49
50 virtual size_t RegisterCrashKeys() OVERRIDE; 50 virtual size_t RegisterCrashKeys() override;
51 51
52 virtual bool IsRunningUnattended() OVERRIDE; 52 virtual bool IsRunningUnattended() override;
53 53
54 virtual bool GetCollectStatsConsent() OVERRIDE; 54 virtual bool GetCollectStatsConsent() override;
55 55
56 #if defined(OS_WIN) || defined(OS_MACOSX) 56 #if defined(OS_WIN) || defined(OS_MACOSX)
57 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE; 57 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override;
58 #endif 58 #endif
59 59
60 #if defined(OS_ANDROID) 60 #if defined(OS_ANDROID)
61 virtual int GetAndroidMinidumpDescriptor() OVERRIDE; 61 virtual int GetAndroidMinidumpDescriptor() override;
62 #endif 62 #endif
63 63
64 #if defined(OS_MACOSX) 64 #if defined(OS_MACOSX)
65 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; 65 virtual void InstallAdditionalFilters(BreakpadRef breakpad) override;
66 #endif 66 #endif
67 67
68 virtual bool EnableBreakpadForProcess( 68 virtual bool EnableBreakpadForProcess(
69 const std::string& process_type) OVERRIDE; 69 const std::string& process_type) override;
70 70
71 private: 71 private:
72 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); 72 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
73 }; 73 };
74 74
75 } // namespace chrome 75 } // namespace chrome
76 76
77 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ 77 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/app/android/chrome_main_delegate_android.h ('k') | chrome/app/chrome_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698