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

Unified Diff: services/video_capture/service_main.cc

Issue 2224103002: Package video capture skeleton as Mojo Shell Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@VideoMojoSkeleton2
Patch Set: mcasas' comments Created 4 years, 4 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
Index: services/video_capture/service_main.cc
diff --git a/mash/login/main.cc b/services/video_capture/service_main.cc
similarity index 68%
copy from mash/login/main.cc
copy to services/video_capture/service_main.cc
index d439e03039f21cdec6ac990090ce81a3b0bccb5a..58be4085c5f23be495658e8b117aa96d0f7042d0 100644
--- a/mash/login/main.cc
+++ b/services/video_capture/service_main.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mash/login/login.h"
#include "services/shell/public/c/main.h"
#include "services/shell/public/cpp/service_runner.h"
+#include "services/video_capture/service.h"
MojoResult ServiceMain(MojoHandle service_request_handle) {
- shell::ServiceRunner runner(mash::login::CreateLogin());
- return runner.Run(service_request_handle);
+ return shell::ServiceRunner(new video_capture::VideoCaptureService)
+ .Run(service_request_handle);
}

Powered by Google App Engine
This is Rietveld 408576698