#include "content/browser/content_index/content_index_context_impl.h"
#include "base/functional/bind.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "url/origin.h"
namespace content {
ContentIndexContextImpl::ContentIndexContextImpl(
BrowserContext* browser_context,
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context)
: … { … }
void ContentIndexContextImpl::GetIcons(int64_t service_worker_registration_id,
const std::string& description_id,
GetIconsCallback callback) { … }
void ContentIndexContextImpl::GetAllEntries(GetAllEntriesCallback callback) { … }
void ContentIndexContextImpl::GetEntry(int64_t service_worker_registration_id,
const std::string& description_id,
GetEntryCallback callback) { … }
void ContentIndexContextImpl::OnUserDeletedItem(
int64_t service_worker_registration_id,
const url::Origin& origin,
const std::string& description_id) { … }
void ContentIndexContextImpl::GetIconSizes(
blink::mojom::ContentCategory category,
blink::mojom::ContentIndexService::GetIconSizesCallback callback) { … }
void ContentIndexContextImpl::Shutdown() { … }
ContentIndexDatabase& ContentIndexContextImpl::database() { … }
ContentIndexContextImpl::~ContentIndexContextImpl() = default;
}