#include "components/browsing_data/content/local_storage_helper.h"
#include <utility>
#include <vector>
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/storage_usage_info.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "url/origin.h"
#include "url/url_util.h"
BrowserThread;
namespace browsing_data {
namespace {
bool HasStorageScheme(const url::Origin& origin) { … }
void GetUsageInfoCallback(LocalStorageHelper::FetchCallback callback,
const std::vector<content::StorageUsageInfo>& infos) { … }
}
LocalStorageHelper::LocalStorageHelper(
content::StoragePartition* storage_partition)
: … { … }
LocalStorageHelper::~LocalStorageHelper() = default;
void LocalStorageHelper::StartFetching(FetchCallback callback) { … }
}