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 <stddef.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "build/build_config.h" |
11 #include "components/crash/content/app/crash_reporter_client.h" | 14 #include "components/crash/content/app/crash_reporter_client.h" |
12 | 15 |
13 namespace browser_watcher { | 16 namespace browser_watcher { |
14 class CrashReportingMetrics; | 17 class CrashReportingMetrics; |
15 } // namespace browser_watcher | 18 } // namespace browser_watcher |
16 | 19 |
17 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { | 20 class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { |
18 public: | 21 public: |
19 ChromeCrashReporterClient(); | 22 ChromeCrashReporterClient(); |
20 ~ChromeCrashReporterClient() override; | 23 ~ChromeCrashReporterClient() override; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 74 |
72 private: | 75 private: |
73 #if defined(OS_WIN) | 76 #if defined(OS_WIN) |
74 scoped_ptr<browser_watcher::CrashReportingMetrics> crash_reporting_metrics_; | 77 scoped_ptr<browser_watcher::CrashReportingMetrics> crash_reporting_metrics_; |
75 #endif | 78 #endif |
76 | 79 |
77 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 80 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
78 }; | 81 }; |
79 | 82 |
80 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 83 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |