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 CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
6 #define CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 6 #define CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" |
9 #include "components/crash/content/app/crash_reporter_client.h" | 11 #include "components/crash/content/app/crash_reporter_client.h" |
10 | 12 |
11 namespace content { | 13 namespace content { |
12 | 14 |
13 class ShellCrashReporterClient : public crash_reporter::CrashReporterClient { | 15 class ShellCrashReporterClient : public crash_reporter::CrashReporterClient { |
14 public: | 16 public: |
15 ShellCrashReporterClient(); | 17 ShellCrashReporterClient(); |
16 ~ShellCrashReporterClient() override; | 18 ~ShellCrashReporterClient() override; |
17 | 19 |
18 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
(...skipping 26 matching lines...) Expand all Loading... |
45 | 47 |
46 bool EnableBreakpadForProcess(const std::string& process_type) override; | 48 bool EnableBreakpadForProcess(const std::string& process_type) override; |
47 | 49 |
48 private: | 50 private: |
49 DISALLOW_COPY_AND_ASSIGN(ShellCrashReporterClient); | 51 DISALLOW_COPY_AND_ASSIGN(ShellCrashReporterClient); |
50 }; | 52 }; |
51 | 53 |
52 } // namespace content | 54 } // namespace content |
53 | 55 |
54 #endif // CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ | 56 #endif // CONTENT_SHELL_APP_SHELL_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |