blob: 7427bd1c997ae7b9acc607ec5c6eacd0a2979dca [file] [log] [blame]
Jeff Brownc8bbaed2016-01-26 15:52:26 -08001// Copyright 2015 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "examples/ui/noodles/noodles_app.h"
Viet-Trung Luu8f8c2152016-05-31 13:11:00 -07006#include "mojo/environment/scoped_chromium_init.h"
Jeff Brownc8bbaed2016-01-26 15:52:26 -08007#include "mojo/public/c/system/main.h"
Viet-Trung Luu8f8c2152016-05-31 13:11:00 -07008#include "mojo/public/cpp/application/run_application.h"
Jeff Brownc8bbaed2016-01-26 15:52:26 -08009
10MojoResult MojoMain(MojoHandle application_request) {
Viet-Trung Luu8f8c2152016-05-31 13:11:00 -070011 mojo::ScopedChromiumInit init;
12 examples::NoodlesApp noodles_app;
13 return mojo::RunApplication(application_request, &noodles_app);
Jeff Brownc8bbaed2016-01-26 15:52:26 -080014}