summaryrefslogtreecommitdiff
path: root/chromium/components/resource_provider/main.cc
blob: 92b4c99f88ef7a464fa6338cd36e1f8eb64f3bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 "components/resource_provider/resource_provider_app.h"
#include "mojo/public/c/system/main.h"
#include "mojo/shell/public/cpp/application_runner.h"

MojoResult MojoMain(MojoHandle shell_handle) {
  mojo::ApplicationRunner runner(
      new resource_provider::ResourceProviderApp("mojo:resource_provider"));
  return runner.Run(shell_handle);
}