// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_JOB_H_ #define COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_JOB_H_ #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "components/download/public/common/download_export.h" #include "components/download/public/common/download_file.h" #include "components/download/public/common/download_interrupt_reasons.h" namespace download { class DownloadItem; // DownloadJob lives on UI thread and subclasses implement actual download logic // and interact with DownloadItem. // The base class is a friend class of DownloadItem. class COMPONENTS_DOWNLOAD_EXPORT DownloadJob { … }; } // namespace download #endif // COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_JOB_H_