chromium/chrome/browser/feedback/system_logs/log_sources/crash_ids_source.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/feedback/system_logs/log_sources/crash_ids_source.h"

#include <string>

#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/time/time.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/crash_upload_list/crash_upload_list.h"
#include "components/feedback/feedback_report.h"
#include "content/public/browser/browser_thread.h"

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chromeos/ash/components/dbus/debug_daemon/debug_daemon_client.h"
#include "content/public/browser/browser_thread.h"
#endif

namespace system_logs {

namespace {

// The maximum number of crashes we retrieve from the crash list.
constexpr size_t kMaxCrashesCountToRetrieve =;

// The length of the crash ID string.
constexpr size_t kCrashIdStringSize =;

// For recent crashes, which is for all reports, look back one hour.
constexpr base::TimeDelta kOneHourTimeDelta =;

// For all crashes, which is for only @google.com reports, look back 120 days.
constexpr base::TimeDelta k120DaysTimeDelta =;

}  // namespace

CrashIdsSource::CrashIdsSource()
    :{}

CrashIdsSource::~CrashIdsSource() {}

void CrashIdsSource::Fetch(SysLogsSourceCallback callback) {}

void CrashIdsSource::OnUploadListAvailable() {}

void CrashIdsSource::RespondWithCrashIds(SysLogsSourceCallback callback) {}

}  // namespace system_logs