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

Side by Side Diff: services/video_capture/test/service_test.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 years, 11 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
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/input_method_mus.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/test/service_test.h" 5 #include "services/video_capture/test/service_test.h"
6 6
7 namespace video_capture { 7 namespace video_capture {
8 8
9 ServiceTest::ServiceTest() 9 ServiceTest::ServiceTest()
10 : service_manager::test::ServiceTest("video_capture_unittests") {} 10 : service_manager::test::ServiceTest("video_capture_unittests") {}
11 11
12 ServiceTest::~ServiceTest() = default; 12 ServiceTest::~ServiceTest() = default;
13 13
14 void ServiceTest::SetUp() { 14 void ServiceTest::SetUp() {
15 service_manager::test::ServiceTest::SetUp(); 15 service_manager::test::ServiceTest::SetUp();
16 connector()->ConnectToInterface("video_capture", &service_); 16 connector()->BindInterface("video_capture", &service_);
17 service_->ConnectToFakeDeviceFactory(mojo::MakeRequest(&factory_)); 17 service_->ConnectToFakeDeviceFactory(mojo::MakeRequest(&factory_));
18 } 18 }
19 19
20 } // namespace video_capture 20 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/input_method_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698