| 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);
|
| }
|
|
|