| 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 #if !defined(OS_WIN) | 8 #if !defined(OS_WIN) |
| 9 | 9 |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| 11 | 11 |
| 12 #include <memory> | 12 #include <memory> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 17 #include "components/crash/content/app/crash_reporter_client.h" | 17 #include "components/crash/content/app/crash_reporter_client.h" |
| 18 | 18 |
| 19 namespace browser_watcher { | |
| 20 class CrashReportingMetrics; | |
| 21 } // namespace browser_watcher | |
| 22 | |
| 23 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { | 19 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { |
| 24 public: | 20 public: |
| 25 ChromeCrashReporterClient(); | 21 ChromeCrashReporterClient(); |
| 26 ~ChromeCrashReporterClient() override; | 22 ~ChromeCrashReporterClient() override; |
| 27 | 23 |
| 28 // crash_reporter::CrashReporterClient implementation. | 24 // crash_reporter::CrashReporterClient implementation. |
| 29 #if !defined(OS_MACOSX) | 25 #if !defined(OS_MACOSX) |
| 30 void SetCrashReporterClientIdFromGUID( | 26 void SetCrashReporterClientIdFromGUID( |
| 31 const std::string& client_guid) override; | 27 const std::string& client_guid) override; |
| 32 #endif | 28 #endif |
| (...skipping 22 matching lines...) Expand all Loading... |
| 55 | 51 |
| 56 bool EnableBreakpadForProcess(const std::string& process_type) override; | 52 bool EnableBreakpadForProcess(const std::string& process_type) override; |
| 57 | 53 |
| 58 private: | 54 private: |
| 59 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 55 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
| 60 }; | 56 }; |
| 61 | 57 |
| 62 #endif // OS_WIN | 58 #endif // OS_WIN |
| 63 | 59 |
| 64 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 60 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
| OLD | NEW |