| Index: chromeos/dbus/fake_permission_broker_client.cc
|
| diff --git a/chromeos/dbus/fake_permission_broker_client.cc b/chromeos/dbus/fake_permission_broker_client.cc
|
| index e011366a7ef5008353434ce9345ff247a4c2ca8e..ace347941979eae1fbe955f12a8ee227c21ebe61 100644
|
| --- a/chromeos/dbus/fake_permission_broker_client.cc
|
| +++ b/chromeos/dbus/fake_permission_broker_client.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chromeos/dbus/fake_permission_broker_client.h"
|
|
|
| #include <fcntl.h>
|
| +#include <stdint.h>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -69,7 +70,7 @@ void FakePermissionBrokerClient::OpenPath(const std::string& path,
|
| }
|
|
|
| void FakePermissionBrokerClient::RequestTcpPortAccess(
|
| - uint16 port,
|
| + uint16_t port,
|
| const std::string& interface,
|
| const dbus::FileDescriptor& lifeline_fd,
|
| const ResultCallback& callback) {
|
| @@ -78,7 +79,7 @@ void FakePermissionBrokerClient::RequestTcpPortAccess(
|
| }
|
|
|
| void FakePermissionBrokerClient::RequestUdpPortAccess(
|
| - uint16 port,
|
| + uint16_t port,
|
| const std::string& interface,
|
| const dbus::FileDescriptor& lifeline_fd,
|
| const ResultCallback& callback) {
|
| @@ -87,14 +88,14 @@ void FakePermissionBrokerClient::RequestUdpPortAccess(
|
| }
|
|
|
| void FakePermissionBrokerClient::ReleaseTcpPort(
|
| - uint16 port,
|
| + uint16_t port,
|
| const std::string& interface,
|
| const ResultCallback& callback) {
|
| callback.Run(true);
|
| }
|
|
|
| void FakePermissionBrokerClient::ReleaseUdpPort(
|
| - uint16 port,
|
| + uint16_t port,
|
| const std::string& interface,
|
| const ResultCallback& callback) {
|
| callback.Run(true);
|
|
|