summaryrefslogtreecommitdiff
path: root/chromium/services/ui/demo/main_external.cc
blob: cdf2734184e7bad03b08f1a455f4963a4e71978f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2017 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 "services/service_manager/public/c/main.h"
#include "services/service_manager/public/cpp/service_runner.h"
#include "services/ui/demo/mus_demo_external.h"

MojoResult ServiceMain(MojoHandle service_request_handle) {
  service_manager::ServiceRunner runner(new ui::demo::MusDemoExternal);
  return runner.Run(service_request_handle);
}