#include "remoting/host/remote_open_url/url_forwarder_configurator_linux.h"
#include <memory>
#include "base/base_paths.h"
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/path_service.h"
#include "base/process/launch.h"
#include "base/task/thread_pool.h"
#include "remoting/base/logging.h"
namespace remoting {
namespace {
constexpr char kConfigureUrlForwarderScriptFileName[] = …;
bool ExecuteConfigScriptWithSwitch(const std::string& switch_name) { … }
protocol::UrlForwarderControl::SetUpUrlForwarderResponse::State
SetUpForwarderAndGetResponseState() { … }
}
UrlForwarderConfiguratorLinux::UrlForwarderConfiguratorLinux()
: … { … }
UrlForwarderConfiguratorLinux::~UrlForwarderConfiguratorLinux() = default;
void UrlForwarderConfiguratorLinux::IsUrlForwarderSetUp(
IsUrlForwarderSetUpCallback callback) { … }
void UrlForwarderConfiguratorLinux::SetUpUrlForwarder(
const SetUpUrlForwarderCallback& callback) { … }
std::unique_ptr<UrlForwarderConfigurator> UrlForwarderConfigurator::Create() { … }
}