Chromium Code Reviews| 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); |
| } |
|
mcasas
2016/08/12 21:45:27
Pro-tip: when uploading a CL, you can set the simi
chfremer
2016/08/12 22:23:24
Acknowledged.
|