#include "extensions/browser/api/system_info/system_info_provider.h"
#include "base/functional/bind.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "components/storage_monitor/storage_info.h"
#include "components/storage_monitor/storage_monitor.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/common/api/system_storage.h"
StorageInfo;
StorageMonitor;
namespace extensions {
StorageUnitInfo;
StorageUnitType;
namespace systeminfo {
void BuildStorageUnitInfo(const StorageInfo& info, StorageUnitInfo* unit) { … }
}
SystemInfoProvider::SystemInfoProvider()
: … { … }
SystemInfoProvider::~SystemInfoProvider() { … }
void SystemInfoProvider::PrepareQueryOnUIThread() { … }
void SystemInfoProvider::InitializeProvider(
base::OnceClosure do_query_info_callback) { … }
void SystemInfoProvider::StartQueryInfo(QueryInfoCompletionCallback callback) { … }
void SystemInfoProvider::OnQueryCompleted(bool success) { … }
void SystemInfoProvider::StartQueryInfoPostInitialization() { … }
}