| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "services/video_capture/video_capture_service_test.h" | 5 #include "services/video_capture/video_capture_service_test.h" |
| 6 | 6 |
| 7 namespace video_capture { | 7 namespace video_capture { |
| 8 | 8 |
| 9 VideoCaptureServiceTest::VideoCaptureServiceTest() | 9 VideoCaptureServiceTest::VideoCaptureServiceTest() |
| 10 : shell::test::ServiceTest("exe:video_capture_unittests") {} | 10 : shell::test::ServiceTest("exe:video_capture_unittests") {} |
| 11 | 11 |
| 12 VideoCaptureServiceTest::~VideoCaptureServiceTest() = default; | 12 VideoCaptureServiceTest::~VideoCaptureServiceTest() = default; |
| 13 | 13 |
| 14 void VideoCaptureServiceTest::SetUp() { | 14 void VideoCaptureServiceTest::SetUp() { |
| 15 ServiceTest::SetUp(); | 15 ServiceTest::SetUp(); |
| 16 connector()->ConnectToInterface("mojo:video_capture", &service_); | 16 connector()->ConnectToInterface("service:video_capture", &service_); |
| 17 service_->ConnectToFakeDeviceFactory(mojo::GetProxy(&factory_)); | 17 service_->ConnectToFakeDeviceFactory(mojo::GetProxy(&factory_)); |
| 18 } | 18 } |
| 19 | 19 |
| 20 } // namespace video_capture | 20 } // namespace video_capture |
| OLD | NEW |