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

Unified Diff: device/usb/mock_usb_device_handle.h

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/mock_usb_device.h ('k') | device/usb/tools/usb_ids.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « device/usb/mock_usb_device.h ('k') | device/usb/tools/usb_ids.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698