blob: eadfb0aa52f94f545ad38d03d11ebe1b5ff00d5e [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/task/task_scheduler/task_scheduler.h"
#include "mojo/core/embedder/embedder.h"
#include "remoting/test/ftl_signaling_playground.h"
int main(int argc, char const* argv[]) {
base::AtExitManager exitManager;
base::CommandLine::Init(argc, argv);
base::MessageLoopForIO message_loop;
remoting::FtlSignalingPlayground playground;
if (playground.ShouldPrintHelp()) {
playground.PrintHelp();
return 0;
}
base::TaskScheduler::CreateAndStartWithDefaultParams(
"FtlSignalingPlayground");
mojo::core::Init();
playground.StartAndAuthenticate();
return 0;
}