#include "chrome/browser/web_applications/isolated_web_apps/garbage_collect_storage_partitions_command.h"
#include <memory>
#include <string>
#include <unordered_set>
#include "base/check.h"
#include "base/files/file_path.h"
#include "base/functional/callback_forward.h"
#include "base/functional/callback_helpers.h"
#include "base/functional/concurrent_closures.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/extension_status_utils.h"
#include "chrome/browser/web_applications/extensions_manager.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_installation_manager.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_url_info.h"
#include "chrome/browser/web_applications/locks/all_apps_lock.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/storage_partition_config.h"
namespace web_app {
GarbageCollectStoragePartitionsCommand::GarbageCollectStoragePartitionsCommand(
Profile* profile,
base::OnceClosure done)
: … { … }
GarbageCollectStoragePartitionsCommand::
~GarbageCollectStoragePartitionsCommand() = default;
void GarbageCollectStoragePartitionsCommand::StartWithLock(
std::unique_ptr<AllAppsLock> lock) { … }
void GarbageCollectStoragePartitionsCommand::ResetStorageGarbageCollectPref() { … }
void GarbageCollectStoragePartitionsCommand::OnPrefReset() { … }
void GarbageCollectStoragePartitionsCommand::DoGarbageCollection() { … }
void GarbageCollectStoragePartitionsCommand::OnSuccess() { … }
}