Index: device/usb/mock_usb_device_handle.h |
diff --git a/device/usb/mock_usb_device_handle.h b/device/usb/mock_usb_device_handle.h |
index 30b23d959c46863cdba9e25be51dacf62d675bd1..dfa798ea381ba4cc123e1248685b1334b538488f 100644 |
--- a/device/usb/mock_usb_device_handle.h |
+++ b/device/usb/mock_usb_device_handle.h |
@@ -7,6 +7,9 @@ |
#include "device/usb/usb_device_handle.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include "testing/gmock/include/gmock/gmock.h" |
namespace device { |
@@ -27,7 +30,8 @@ class MockUsbDeviceHandle : public UsbDeviceHandle { |
int alternate_setting, |
const ResultCallback& callback)); |
MOCK_METHOD1(ResetDevice, void(const ResultCallback& callback)); |
- MOCK_METHOD2(ClearHalt, void(uint8 endpoint, const ResultCallback& callback)); |
+ MOCK_METHOD2(ClearHalt, |
+ void(uint8_t endpoint, const ResultCallback& callback)); |
MOCK_METHOD10(ControlTransfer, |
void(UsbEndpointDirection direction, |
TransferRequestType request_type, |