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

Side by Side Diff: services/video_capture/mock_device_video_capture_service_test.cc

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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/mock_device_video_capture_service_test.h" 5 #include "services/video_capture/mock_device_video_capture_service_test.h"
6 6
7 namespace video_capture { 7 namespace video_capture {
8 8
9 MockDeviceVideoCaptureServiceTest::MockDeviceVideoCaptureServiceTest() 9 MockDeviceVideoCaptureServiceTest::MockDeviceVideoCaptureServiceTest()
10 : shell::test::ServiceTest("exe:video_capture_unittests") {} 10 : service_manager::test::ServiceTest("exe:video_capture_unittests") {}
11 11
12 MockDeviceVideoCaptureServiceTest::~MockDeviceVideoCaptureServiceTest() = 12 MockDeviceVideoCaptureServiceTest::~MockDeviceVideoCaptureServiceTest() =
13 default; 13 default;
14 14
15 void MockDeviceVideoCaptureServiceTest::SetUp() { 15 void MockDeviceVideoCaptureServiceTest::SetUp() {
16 ServiceTest::SetUp(); 16 ServiceTest::SetUp();
17 connector()->ConnectToInterface("service:video_capture", &service_); 17 connector()->ConnectToInterface("service:video_capture", &service_);
18 service_->ConnectToMockDeviceFactory(mojo::GetProxy(&factory_)); 18 service_->ConnectToMockDeviceFactory(mojo::GetProxy(&factory_));
19 19
20 // Set up a mock device and add it to the factory 20 // Set up a mock device and add it to the factory
(...skipping 11 matching lines...) Expand all
32 32
33 requested_format_.frame_size = gfx::Size(800, 600); 33 requested_format_.frame_size = gfx::Size(800, 600);
34 requested_format_.frame_rate = 15; 34 requested_format_.frame_rate = 15;
35 requested_format_.pixel_format = media::PIXEL_FORMAT_I420; 35 requested_format_.pixel_format = media::PIXEL_FORMAT_I420;
36 requested_format_.pixel_storage = media::PIXEL_STORAGE_CPU; 36 requested_format_.pixel_storage = media::PIXEL_STORAGE_CPU;
37 mock_receiver_ = base::MakeUnique<MockVideoFrameReceiver>( 37 mock_receiver_ = base::MakeUnique<MockVideoFrameReceiver>(
38 mojo::GetProxy(&mock_receiver_proxy_)); 38 mojo::GetProxy(&mock_receiver_proxy_));
39 } 39 }
40 40
41 } // namespace video_capture 41 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/video_capture/mock_device_video_capture_service_test.h ('k') | services/video_capture/service_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698