#include <iostream>
#include <memory>
#include <string>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/single_thread_task_executor.h"
#include "build/build_config.h"
#include "tools/accessibility/inspect/ax_event_server.h"
#include "tools/accessibility/inspect/ax_utils.h"
AXTreeSelector;
namespace {
constexpr char kHelpSwitch[] = …;
bool AXDumpEventsLogMessageHandler(int severity,
const char* file,
int line,
size_t message_start,
const std::string& str) { … }
void PrintHelp() { … }
}
int main(int argc, char** argv) { … }