| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "components/crash/content/app/client_upload_info.h" |
| #include "components/crash/content/app/crash_reporter_client.h" |
| |
| namespace crash_reporter { |
| |
| bool GetClientCollectStatsConsent() { |
| return GetCrashReporterClient()->GetCollectStatsConsent(); |
| } |
| |
| #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| void GetClientProductNameAndVersion(std::string* product, |
| std::string* version, |
| std::string* channel) { |
| GetCrashReporterClient()->GetProductNameAndVersion(product, version, channel); |
| } |
| #endif |
| |
| } // namespace crash_reporter |