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

Side by Side Diff: device/usb/mock_usb_device_handle.h

Issue 1642493005: Remove net/base/io_buffer.h include from usb_device_handle.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « device/usb/BUILD.gn ('k') | device/usb/usb_device_handle.h » ('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 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_ 5 #ifndef DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_
6 #define DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_ 6 #define DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_
7 7
8 #include "device/usb/usb_device_handle.h" 8 #include "device/usb/usb_device_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include "net/base/io_buffer.h"
13 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
14 15
15 namespace device { 16 namespace device {
16 17
17 class MockUsbDeviceHandle : public UsbDeviceHandle { 18 class MockUsbDeviceHandle : public UsbDeviceHandle {
18 public: 19 public:
19 MockUsbDeviceHandle(UsbDevice* device); 20 MockUsbDeviceHandle(UsbDevice* device);
20 21
21 scoped_refptr<UsbDevice> GetDevice() const override; 22 scoped_refptr<UsbDevice> GetDevice() const override;
22 MOCK_METHOD0(Close, void()); 23 MOCK_METHOD0(Close, void());
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 private: 66 private:
66 ~MockUsbDeviceHandle() override; 67 ~MockUsbDeviceHandle() override;
67 68
68 UsbDevice* device_; 69 UsbDevice* device_;
69 }; 70 };
70 71
71 } // namespace device 72 } // namespace device
72 73
73 #endif // DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_ 74 #endif // DEVICE_USB_MOCK_USB_DEVICE_HANDLE_H_
OLDNEW
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/usb/usb_device_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698