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

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: ben's 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/ash/sysui/main.cc b/services/video_capture/service_main.cc
similarity index 66%
copy from ash/sysui/main.cc
copy to services/video_capture/service_main.cc
index 3e36f23936ffaa2667ea9c113de5bddc2cecf85c..c8e53c1f37de97ad6fb9335967af4590e7421109 100644
--- a/ash/sysui/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 "ash/sysui/sysui_application.h"
#include "services/shell/public/c/main.h"
#include "services/shell/public/cpp/service_runner.h"
+#include "services/video_capture/video_capture_service.h"
MojoResult ServiceMain(MojoHandle service_request_handle) {
- shell::ServiceRunner runner(new ash::sysui::SysUIApplication);
- 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