chromium/chrome/browser/crash_upload_list/crash_upload_list.cc

// Copyright 2012 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/crash_upload_list/crash_upload_list.h"

#include "build/build_config.h"

#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
#include "components/crash/core/browser/crash_upload_list_crashpad.h"
#else
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "chrome/common/chrome_paths.h"
#include "components/crash/core/app/crashpad.h"
#include "components/upload_list/crash_upload_list.h"
#endif

#if BUILDFLAG(IS_ANDROID)
#include "base/android/path_utils.h"
#include "chrome/browser/crash_upload_list/crash_upload_list_android.h"
#endif

#if !BUILDFLAG(IS_CHROMEOS)
#include "components/crash/core/browser/crash_upload_list_crashpad.h"
#endif

#if BUILDFLAG(IS_LINUX)
#include "components/upload_list/combining_upload_list.h"
#include "components/upload_list/text_log_upload_list.h"
#endif

#if BUILDFLAG(IS_CHROMEOS)
#include "chrome/browser/crash_upload_list/crash_upload_list_chromeos.h"
#endif

scoped_refptr<UploadList> CreateCrashUploadList() {}