#include "extensions/shell/browser/system_logs/log_sources/basic_log_source.h"
#include <memory>
#include <string>
#include "base/strings/string_util.h"
#include "base/system/sys_info.h"
#include "components/version_info/version_info.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_set.h"
namespace system_logs {
namespace {
constexpr char kAppShellVersionTag[] = …;
constexpr char kOsVersionTag[] = …;
constexpr char kExtensionsListKey[] = …;
}
BasicLogSource::BasicLogSource(content::BrowserContext* browser_context)
: … { … }
BasicLogSource::~BasicLogSource() = default;
void BasicLogSource::Fetch(SysLogsSourceCallback callback) { … }
void BasicLogSource::PopulateVersionStrings(SystemLogsResponse* response) { … }
void BasicLogSource::PopulateExtensionInfoLogs(SystemLogsResponse* response) { … }
}