diff options
author | sammc <sammc@chromium.org> | 2015-05-19 21:50:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-20 04:52:46 +0000 |
commit | a6faceeb923420b8f8ec83029ecda0fffac5438f (patch) | |
tree | 747fb47e2c032317ca987db2651929ab4757cbcd /extensions/renderer/api | |
parent | 848cef8863832443e796a9ea2deb7e4c58012e7f (diff) | |
download | chromium_src-a6faceeb923420b8f8ec83029ecda0fffac5438f.zip chromium_src-a6faceeb923420b8f8ec83029ecda0fffac5438f.tar.gz chromium_src-a6faceeb923420b8f8ec83029ecda0fffac5438f.tar.bz2 |
Remove mojo::InterfaceImpl from device/serial.
BUG=489751
Review URL: https://codereview.chromium.org/1143013002
Cr-Commit-Position: refs/heads/master@{#330698}
Diffstat (limited to 'extensions/renderer/api')
-rw-r--r-- | extensions/renderer/api/serial/serial_api_unittest.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/extensions/renderer/api/serial/serial_api_unittest.cc b/extensions/renderer/api/serial/serial_api_unittest.cc index 508c4a0..603a2e7 100644 --- a/extensions/renderer/api/serial/serial_api_unittest.cc +++ b/extensions/renderer/api/serial/serial_api_unittest.cc @@ -436,14 +436,13 @@ class SerialApiTest : public ApiTestBase { void CreateSerialService( mojo::InterfaceRequest<device::serial::SerialService> request) { - mojo::BindToRequest(new device::SerialServiceImpl( - new device::SerialConnectionFactory( - base::Bind(&SerialApiTest::GetIoHandler, - base::Unretained(this)), - base::ThreadTaskRunnerHandle::Get()), - scoped_ptr<device::SerialDeviceEnumerator>( - new FakeSerialDeviceEnumerator)), - &request); + new device::SerialServiceImpl( + new device::SerialConnectionFactory( + base::Bind(&SerialApiTest::GetIoHandler, base::Unretained(this)), + base::ThreadTaskRunnerHandle::Get()), + scoped_ptr<device::SerialDeviceEnumerator>( + new FakeSerialDeviceEnumerator), + request.Pass()); } DISALLOW_COPY_AND_ASSIGN(SerialApiTest); |