#include "chrome/browser/headless/headless_command_processor.h"
#include <memory>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "chrome/browser/headless/headless_mode_util.h"
#include "chrome/common/chrome_switches.h"
#include "components/keep_alive_registry/keep_alive_types.h"
#include "components/keep_alive_registry/scoped_keep_alive.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/page_transition_types.h"
namespace headless {
bool ShouldProcessHeadlessCommands() { … }
void ProcessHeadlessCommands(
content::BrowserContext* browser_context,
const GURL& target_url,
HeadlessCommandHandler::DoneCallback done_callback) { … }
}