OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ | 5 #ifndef CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ |
6 #define CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ | 6 #define CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "components/crash/app/crash_reporter_client.h" | 9 #include "components/crash/content/app/crash_reporter_client.h" |
10 | 10 |
11 namespace chromecast { | 11 namespace chromecast { |
12 | 12 |
13 class CastCrashReporterClientAndroid | 13 class CastCrashReporterClientAndroid |
14 : public crash_reporter::CrashReporterClient { | 14 : public crash_reporter::CrashReporterClient { |
15 public: | 15 public: |
16 explicit CastCrashReporterClientAndroid(const std::string& process_type); | 16 explicit CastCrashReporterClientAndroid(const std::string& process_type); |
17 ~CastCrashReporterClientAndroid() override; | 17 ~CastCrashReporterClientAndroid() override; |
18 | 18 |
19 static bool GetCrashDumpLocation(const std::string& process_type, | 19 static bool GetCrashDumpLocation(const std::string& process_type, |
(...skipping 11 matching lines...) Expand all Loading... |
31 | 31 |
32 private: | 32 private: |
33 std::string process_type_; | 33 std::string process_type_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(CastCrashReporterClientAndroid); | 35 DISALLOW_COPY_AND_ASSIGN(CastCrashReporterClientAndroid); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace chromecast | 38 } // namespace chromecast |
39 | 39 |
40 #endif // CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ | 40 #endif // CHROMECAST_APP_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_ |
OLD | NEW |