Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2600)

Unified Diff: device/devices_app/main.cc

Issue 1165223004: Introduce the devices Mojo app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move mojo USB sources into devices_app to keep mojo dependencies separated from device/usb Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/devices_app/devices_apptest.cc ('k') | device/devices_app/usb/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « device/devices_app/devices_apptest.cc ('k') | device/devices_app/usb/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698