#include "components/offline_pages/core/downloads/offline_item_conversions.h"
#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#include "components/offline_items_collection/core/pending_state.h"
#include "components/offline_pages/core/background/save_page_request.h"
#include "components/offline_pages/core/offline_page_feature.h"
#include "components/offline_pages/core/offline_page_item.h"
OfflineItemFilter;
OfflineItemState;
OfflineItemProgressUnit;
PendingState;
namespace {
const std::string GetDisplayName(const offline_pages::OfflinePageItem& page) { … }
const std::string GetDisplayName(
const offline_pages::SavePageRequest& request) { … }
const std::string GetMimeType() { … }
}
namespace offline_pages {
OfflineItem OfflineItemConversions::CreateOfflineItem(
const OfflinePageItem& page) { … }
OfflineItem OfflineItemConversions::CreateOfflineItem(
const SavePageRequest& request) { … }
}