| OLD | NEW |
| 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" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 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 void GetProductNameAndVersion(const char** product_name, |
| 44 const char** version) override; | 44 const char** version) override; |
| 45 virtual base::FilePath GetReporterLogFilename() override; | 45 base::FilePath GetReporterLogFilename() override; |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; | 48 bool GetCrashDumpLocation(base::FilePath* crash_dir) override; |
| 49 | 49 |
| 50 size_t RegisterCrashKeys() override; | 50 size_t RegisterCrashKeys() override; |
| 51 | 51 |
| 52 bool IsRunningUnattended() override; | 52 bool IsRunningUnattended() override; |
| 53 | 53 |
| 54 bool GetCollectStatsConsent() override; | 54 bool GetCollectStatsConsent() override; |
| 55 | 55 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 bool EnableBreakpadForProcess(const std::string& process_type) override; | 68 bool EnableBreakpadForProcess(const std::string& process_type) override; |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 71 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace chrome | 74 } // namespace chrome |
| 75 | 75 |
| 76 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 76 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
| OLD | NEW |