| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/environment/scoped_chromium_init.h" | 5 #include "mojo/environment/scoped_chromium_init.h" |
| 6 #include "mojo/public/c/system/main.h" | 6 #include "mojo/public/c/system/main.h" |
| 7 #include "mojo/public/cpp/application/run_application.h" | 7 #include "mojo/public/cpp/application/run_application.h" |
| 8 #include "services/icu_data/icu_data_impl.h" | 8 #include "services/flog/flog_service_impl.h" |
| 9 | 9 |
| 10 MojoResult MojoMain(MojoHandle application_request) { | 10 MojoResult MojoMain(MojoHandle application_request) { |
| 11 mojo::ScopedChromiumInit init; | 11 mojo::ScopedChromiumInit init; |
| 12 icu_data::ICUDataImpl icu_data_impl; | 12 mojo::flog::FlogServiceImpl flog_service_impl; |
| 13 return mojo::RunApplication(application_request, &icu_data_impl); | 13 return mojo::RunApplication(application_request, &flog_service_impl); |
| 14 } | 14 } |
| OLD | NEW |