| Index: chromeos/dbus/mock_permission_broker_client.h
|
| diff --git a/chromeos/dbus/mock_permission_broker_client.h b/chromeos/dbus/mock_permission_broker_client.h
|
| index d5c9c02ffe95de8064b94209bc8b5cc8ada29b05..9e45a97defc8ff8b9a915951d7632547bcf25ea8 100644
|
| --- a/chromeos/dbus/mock_permission_broker_client.h
|
| +++ b/chromeos/dbus/mock_permission_broker_client.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
|
| #define CHROMEOS_DBUS_MOCK_PERMISSION_BROKER_CLIENT_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "chromeos/dbus/permission_broker_client.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
|
|
| @@ -29,21 +31,21 @@ class MockPermissionBrokerClient : public PermissionBrokerClient {
|
| MOCK_METHOD2(OpenPath,
|
| void(const std::string& path, const OpenPathCallback& callback));
|
| MOCK_METHOD4(RequestTcpPortAccess,
|
| - void(uint16 port,
|
| + void(uint16_t port,
|
| const std::string& interface,
|
| const dbus::FileDescriptor& lifeline_fd,
|
| const ResultCallback& callback));
|
| MOCK_METHOD4(RequestUdpPortAccess,
|
| - void(uint16 port,
|
| + void(uint16_t port,
|
| const std::string& interface,
|
| const dbus::FileDescriptor& lifeline_fd,
|
| const ResultCallback& callback));
|
| MOCK_METHOD3(ReleaseTcpPort,
|
| - void(uint16 port,
|
| + void(uint16_t port,
|
| const std::string& interface,
|
| const ResultCallback& callback));
|
| MOCK_METHOD3(ReleaseUdpPort,
|
| - void(uint16 port,
|
| + void(uint16_t port,
|
| const std::string& interface,
|
| const ResultCallback& callback));
|
| };
|
|
|