blob: c65acf02550cd61b4f87d6069b41e0639c620d31 [file]
// Copyright 2015 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 "mojo/public/c/system/main.h"
#include "mojo/public/cpp/application/application_connection.h"
#include "mojo/public/cpp/application/application_runner.h"
#include "network_service_delegate.h"
MojoResult MojoMain(MojoHandle shell_handle) {
mojo::ApplicationRunner runner(
std::unique_ptr<NetworkServiceDelegate>(new NetworkServiceDelegate()));
return runner.Run(shell_handle);
}