#include <iostream>
#include <numeric>
#include <string>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/logging.h"
#include "base/ranges/algorithm.h"
#include "build/build_config.h"
#include "content/public/browser/ax_inspect_factory.h"
#include "tools/accessibility/inspect/ax_tree_server.h"
#include "tools/accessibility/inspect/ax_utils.h"
#include "ui/accessibility/platform/inspect/ax_inspect.h"
#include "ui/accessibility/platform/inspect/ax_inspect_scenario.h"
constexpr char kApiSwitch[] = …;
constexpr char kHelpSwitch[] = …;
bool AXDumpTreeLogMessageHandler(int severity,
const char* file,
int line,
size_t message_start,
const std::string& str) { … }
std::vector<ui::AXApiType::Type> SupportedApis() { … }
void PrintHelp() { … }
int main(int argc, char** argv) { … }