blob: 59fa42fbbc29c76adac1eb10f2f711ac6a7438d4 [file] [log] [blame]
// 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