Roll src/third_party/WebKit c63b89c:29324ab (svn 202546:202547)
[chromium-blink-merge.git] / device / usb / mock_usb_device_handle.cc
blob61bdf9436c2aeb6fead91aa76c73af5a72884649
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/usb/mock_usb_device_handle.h"
7 #include "device/usb/usb_device.h"
9 namespace device {
11 MockUsbDeviceHandle::MockUsbDeviceHandle(UsbDevice* device) : device_(device) {
14 scoped_refptr<UsbDevice> MockUsbDeviceHandle::GetDevice() const {
15 return device_;
18 MockUsbDeviceHandle::~MockUsbDeviceHandle() {
21 } // namespace device