Roll libvpx 861f35:1fff3e
[chromium-blink-merge.git] / chromecast / crash / android / cast_crash_reporter_client_android.h
blobe98eef72605b0ac161193879382c74063da9c009
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
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_CRASH_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_
6 #define CHROMECAST_CRASH_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_
8 #include "base/compiler_specific.h"
9 #include "components/crash/app/crash_reporter_client.h"
11 namespace chromecast {
13 class CastCrashReporterClientAndroid
14 : public crash_reporter::CrashReporterClient {
15 public:
16 CastCrashReporterClientAndroid();
17 ~CastCrashReporterClientAndroid() override;
19 // crash_reporter::CrashReporterClient implementation:
20 void GetProductNameAndVersion(const char** product_name,
21 const char** version) override;
22 base::FilePath GetReporterLogFilename() override;
23 bool GetCrashDumpLocation(base::FilePath* crash_dir) override;
24 int GetAndroidMinidumpDescriptor() override;
25 bool GetCollectStatsConsent() override;
26 bool EnableBreakpadForProcess(
27 const std::string& process_type) override;
28 size_t RegisterCrashKeys() override;
30 private:
31 DISALLOW_COPY_AND_ASSIGN(CastCrashReporterClientAndroid);
34 } // namespace chromecast
36 #endif // CHROMECAST_CRASH_ANDROID_CAST_CRASH_REPORTER_CLIENT_ANDROID_H_