Index: device/devices_app/main.cc |
diff --git a/mandoline/services/core_services/main.cc b/device/devices_app/main.cc |
similarity index 73% |
copy from mandoline/services/core_services/main.cc |
copy to device/devices_app/main.cc |
index ef8c8477a0e3a8494fbc3061219c48742719dd3b..e82edb34e917478a4380240f82a2eff916ccd1f9 100644 |
--- a/mandoline/services/core_services/main.cc |
+++ b/device/devices_app/main.cc |
@@ -2,12 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "mandoline/services/core_services/core_services_application_delegate.h" |
+#include "base/sequenced_task_runner.h" |
+#include "device/devices_app/devices_app.h" |
#include "mojo/application/public/cpp/application_runner.h" |
#include "third_party/mojo/src/mojo/public/c/system/main.h" |
MojoResult MojoMain(MojoHandle shell_handle) { |
mojo::ApplicationRunner runner( |
- new core_services::CoreServicesApplicationDelegate); |
+ device::DevicesApp::CreateDelegate(nullptr).release()); |
return runner.Run(shell_handle); |
} |